DPDK CI discussions
 help / color / mirror / Atom feed
* [dpdk-ci] Tooling for DTS
@ 2021-07-28 20:44 Owen Hilyard
  2021-08-11 14:09 ` Owen Hilyard
  0 siblings, 1 reply; 2+ messages in thread
From: Owen Hilyard @ 2021-07-28 20:44 UTC (permalink / raw)
  To: dts, ci
  Cc: dpdklab, Honnappa.Nagarahalli, Aaron Conole, Tu, Lijuan,
	Juraj Linkeš

[-- Attachment #1: Type: text/plain, Size: 1028 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1418 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-ci] Tooling for DTS
  2021-07-28 20:44 [dpdk-ci] Tooling for DTS Owen Hilyard
@ 2021-08-11 14:09 ` Owen Hilyard
  0 siblings, 0 replies; 2+ messages in thread
From: Owen Hilyard @ 2021-08-11 14:09 UTC (permalink / raw)
  To: dts, ci
  Cc: dpdklab, Honnappa.Nagarahalli, Aaron Conole, Tu, Lijuan,
	Juraj Linkeš

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

The DTS working group has decided to move forward with black and pylama as
tooling for DTS CI.

On Wed, Jul 28, 2021 at 4:44 PM Owen Hilyard <ohilyard@iol.unh.edu> wrote:

> 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
>
>
>

[-- Attachment #2: Type: text/html, Size: 1873 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-11 14:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-28 20:44 [dpdk-ci] Tooling for DTS Owen Hilyard
2021-08-11 14:09 ` Owen Hilyard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).