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 9EB66A0A0C; 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 55D6E406A2; Wed, 28 Jul 2021 22:45:06 +0200 (CEST) Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) by mails.dpdk.org (Postfix) with ESMTP id D709140040 for ; Wed, 28 Jul 2021 22:45:05 +0200 (CEST) Received: by mail-oi1-f181.google.com with SMTP id l126so5390541oib.2 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=NDIjiFKCHl7jHvImcuAH6O8NuWDlkIj51zrfOLdz8NeqObYOPxfw+YeMKEHME4Z9Ic 43l9s/6BY87hOcVfY2w0mGMof/tIb+sB6BkUuSA40QuF82K2jk/6IHrgBHl4ex+IM/R6 1niTocTvIaXsSyw8UrsRzqdLCi0mGviQiX/wd8tqMxgv57Z6WNwG9e79iqsBXy9Jb0Uq 5p6ToB5l6otKCICtSKZkfD3UQI+FCerbiUCuvs4uRvwDZQUWDqf2T37Nb2k9RvWRuZhe 0AV52BiIelAgCO18MhasXdzbmLQ+vBoqit8Lsw+e+Nw7RVNEit8m2ooBBNX7xzNYvaD+ 2xrw== X-Gm-Message-State: AOAM530TQgdLES/lKhauDX6TlK0nEaGB+okWr8I3GvHXxA3+qScn5qk9 dqu40b+C6mND2Bkxnc6jzBWNkvDcseTEMrUwtj1IrDvYc99IRw== 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: [dts] Tooling for DTS 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" --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--