From patchwork Thu Aug 12 16:22:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Owen Hilyard X-Patchwork-Id: 96873 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 09B15A0C56; Thu, 12 Aug 2021 18:23:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CDAEE4014D; Thu, 12 Aug 2021 18:23:20 +0200 (CEST) Received: from mail-ot1-f97.google.com (mail-ot1-f97.google.com [209.85.210.97]) by mails.dpdk.org (Postfix) with ESMTP id 4A82640042 for ; Thu, 12 Aug 2021 18:23:19 +0200 (CEST) Received: by mail-ot1-f97.google.com with SMTP id r16-20020a0568304190b02904f26cead745so8385418otu.10 for ; Thu, 12 Aug 2021 09:23:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PjrGFeG8StFPHgCehr0jqclDygmIITA551JXJsAsPWI=; b=Lax4Kd7M8gWQyO6VdHUtccL14I3+DxOW69/1ZrcRO+rFrLD8AAinlLpR3pQIdnAOy5 ajvPq9D0Q1kc57QKpFz4nVmjQ5g3FG2g2ANtV90BmjUYXhl8XaSUnytoLCw3QJVbs9oE 6zucfvTJxZARLm4kdGcRxw2b/uoOkQvK5ODFA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PjrGFeG8StFPHgCehr0jqclDygmIITA551JXJsAsPWI=; b=FIixHDjDpQr3zJIAHDxUt9RefPldC5WGKMy3EhpAg6+f4qcXe3oL2a3C3Kis/SPiAU ttBRL4LATJgVWEBaA2dgFtuoh/hC/WItb2CllPnoDVfj0pOEjfq44U94Zd7mhMiWxKel n8OBiNhF9MJEb0NmvxCuyazIwCcbUjPZCCncRBJr2pgKCKFRhrAk2IoM/yZLzXYpRFsa OuYP5/aeCtH/RVsFr6HZnrpPbZB41hIPMJ4N8wU4bOB7bNmtD9aGMQmHqwNZFjYiDqfZ CV1wSB7xgoiN2NxhebSOxPYhUDLdGOpKQlddvxrjTibf53jR39v3cizaKZi9Z747RHCU 45hQ== X-Gm-Message-State: AOAM533klgOgAsdkCjEJQK9rF56FbYmELzOd+1Y+UlUO5xjG6sNA5sJ8 OntpAggl1nxdy9z98tAVc9Njfi7PQvRqGatseAshWVCerlyO+U8dmY86JUdv3LayGD7dmOUKUrB HTrDAHLNQn0OE1r175a3W07/dXxcnjcW1fHUSjn0pejkRLygAhMTAPA/BYbuT6iO5XHPCe2y+aQ == X-Google-Smtp-Source: ABdhPJzPYunnfGm/TPNjG2f/wq/rlr4qCL9IxepfnUDoRSF/sl8vho8Rtqwqbgf5amRmMdRNUlBAV2RMrw04 X-Received: by 2002:a9d:450c:: with SMTP id w12mr481625ote.18.1628785398452; Thu, 12 Aug 2021 09:23:18 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id e22sm756301oop.4.2021.08.12.09.23.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Aug 2021 09:23:18 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Received: from iol.unh.edu (unknown [IPv6:2606:4100:3880:1257::105d]) by postal.iol.unh.edu (Postfix) with ESMTP id E2F05605248B; Thu, 12 Aug 2021 12:23:17 -0400 (EDT) From: ohilyard@iol.unh.edu To: dts@dpdk.org Cc: lijuan.tu@intel.com, juraj.linkes@pantheon.tech, Owen Hilyard Date: Thu, 12 Aug 2021 12:22:56 -0400 Message-Id: <20210812162255.80127-1-ohilyard@iol.unh.edu> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [dts] [PATCH] ci/pylama: Added pylama config file X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" From: Owen Hilyard I ended up turning off most of the formatting-releated checks due to some minor conflicts with black (black allows lines > 80 characters for instance). This produces a very substantial list of errors, some of which may need to be simply disabled instead of being fixed due to architectural reasons. Signed-off-by: Owen Hilyard --- ci/requirements.txt | 5 ++++- pylama.ini | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 pylama.ini diff --git a/ci/requirements.txt b/ci/requirements.txt index 0abd6716..e19e540e 100644 --- a/ci/requirements.txt +++ b/ci/requirements.txt @@ -29,4 +29,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -argparse==1.4.0 \ No newline at end of file +argparse==1.4.0 +pylama +pylama_pylint +black \ No newline at end of file diff --git a/pylama.ini b/pylama.ini new file mode 100644 index 00000000..aef408c0 --- /dev/null +++ b/pylama.ini @@ -0,0 +1,5 @@ +[pylama] +format = pylint +linters = pep8,pycodestyle,pylint +ignore = F0401,C0111,E731,E266,E501,E203 +