From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6B8E1A0A0C for ; Wed, 28 Jul 2021 22:45:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 419A140040; Wed, 28 Jul 2021 22:45:06 +0200 (CEST) Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) by mails.dpdk.org (Postfix) with ESMTP id B7AA14003C for ; Wed, 28 Jul 2021 22:45:05 +0200 (CEST) Received: by mail-oi1-f169.google.com with SMTP id q6so5369523oiw.7 for ; Wed, 28 Jul 2021 13:45:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=mime-version:from:date:message-id:subject:to:cc; bh=GGvs0TZ6iSU90t2Q7j3cq3yV6q3lZSNI4tqxht/aOec=; b=h1nV+12vb5ywJ1llLQGtMbvm79wVf4y4Kk4b0sX12Ftj9SAyOgWVRXWufKthPC97/U nd19mF/u4zRgfT+27Loks6o0tVjV2Rot9ceRHbj67hSaDuD7TifVNVYUSYy7eJQMwmJB FzK+RzjZsAeCF4x2YWoeAAznJwWytvNgSERfc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=GGvs0TZ6iSU90t2Q7j3cq3yV6q3lZSNI4tqxht/aOec=; b=VCwRndd2BpXFEy9yZoBTyMOVGU6HYAqWDuB5FBeFFXAxXTuZYrJKPdBM2HafgmdNCK zVeKYUecHYUBMkBOkYnn6ro9K+8ggt7Nw0ngSPhcjz/QDiGVcjgZdiw8jRbomVSFz76R ZPON7E79eHOyaXb3jHsi8h9gncX9qnPTBTzzorCw8Z84Aj3hcu/6HjjAjWLtB6xlBipk kY/blIDMKGqIOLldne118lTNpNWmCCy2iHpUPwD7jDvyOmcc1iJiudYpvU154SS0qP5z aCu6ygCQyUCNpAf3iiYkZpM6scor2oBtTyVO7yaBvwRl/DnyVrIF8K5k6B5ARMaImd87 JLpw== X-Gm-Message-State: AOAM531LcIXliiZKTyoyJDV59TqoiE2xNGxbkJc/sv53imJnAtUd149S 5RM/AfCFhK2vaaRFucBqqCmr4pqbjraiM56eOb8PHQ== X-Google-Smtp-Source: ABdhPJzSSz5Q+mwZ3pti65QrhZv0iFNaE28yPIO/5bT8XuLYpqoSQ64fNaWHtSmoVfS8tQGCSa4r8kk6uLpvw6vgC4I= X-Received: by 2002:a05:6808:317:: with SMTP id i23mr7470280oie.69.1627505104898; Wed, 28 Jul 2021 13:45:04 -0700 (PDT) MIME-Version: 1.0 From: Owen Hilyard Date: Wed, 28 Jul 2021 16:44:29 -0400 Message-ID: To: dts@dpdk.org, ci@dpdk.org Cc: dpdklab , Honnappa.Nagarahalli@arm.com, Aaron Conole , "Tu, Lijuan" , =?UTF-8?Q?Juraj_Linke=C5=A1?= Content-Type: multipart/alternative; boundary="000000000000a5e32c05c8350fa0" Subject: [dpdk-ci] Tooling for DTS X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org Sender: "ci" --000000000000a5e32c05c8350fa0 Content-Type: text/plain; charset="UTF-8" Hello everyone, During the DTS working group meeting, we discussed that it would be useful to have some automated tooling to help assist the maintainers. These tools must produce machine-readable output. There are a few categories that we would like to include. 1. Formatter The formatter should be capable of a strict reformatting to PEP8. 2. Linter We must be able to customize the output or suppress individual instances of an issue. 3. Misc Static Analysis Any other static analysis tools that may be useful. My personal recommendations: 1. black Black has the ability to parse the file before and after formatting and diff the ASTs, to ensure that no semantic changes occurred during formatting. This would probably be our safest bet since we can be confident that it won't break anything. 2. pylama This tool runs a superset of the analyzers run by Flake8 I'd like to start by getting a list of candidates, then we can narrow down tools until we reach a final set of tools to run in CI for DTS. Owen Hilyard --000000000000a5e32c05c8350fa0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello everyone,

During the DTS working = group meeting, we discussed that it would be useful to have some automated = tooling to help assist the maintainers. These tools must produce machine-re= adable output. There are a few categories that we would like to include.

1. Formatter

The formatter = should be capable of a strict reformatting to PEP8.

2. Linter

We must be able to customize the outpu= t or suppress individual instances of an issue.

3.= Misc Static Analysis

Any other static analysis to= ols that may be useful.

My personal recommendation= s:

1. black

Black has the= ability to parse the file before and after formatting and diff the ASTs, t= o ensure that no semantic changes occurred=C2=A0during formatting. This wou= ld probably be our safest bet since we can be confident that it won't b= reak anything.=C2=A0

2. pylama

This tool runs a superset of the analyzers run by Flake8
I'd like to start by getting a list of candidates, then we can narrow= down tools until we reach a final set of tools to run in CI for DTS.=C2=A0=

Owen Hilyard


<= /div> --000000000000a5e32c05c8350fa0--