DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/6] dts: add Ruff and docstring linting
@ 2024-12-10 10:32 Luca Vizzarro
  2024-12-10 10:32 ` [PATCH 1/6] dts: add Ruff as linter and formatter Luca Vizzarro
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Luca Vizzarro @ 2024-12-10 10:32 UTC (permalink / raw)
  To: dev, Patrick Robb; +Cc: Luca Vizzarro

Hi there,

sending a new patchset to cover the replacement of all the current
linters with Ruff. The configuration of Ruff was attempted to be 1:1,
but there are slight differences meaning that Ruff did not purposely
implement all the rules. Either way, at the moment it should be a near
perfect match and satisfy our requirements.

I've also took the chance to enable some new docstring linting rules
which mimic the new pydoclint project.

Best,
Luca

Luca Vizzarro (6):
  dts: add Ruff as linter and formatter
  dts: enable Ruff preview pydoclint rules
  dts: fix docstring linter errors
  dts: apply Ruff formatting
  dts: update dts-check-format to use Ruff
  dts: remove old linters and formatters

 devtools/dts-check-format.sh                  |  30 +--
 dts/framework/params/eal.py                   |   5 +-
 dts/framework/remote_session/dpdk_shell.py    |   1 -
 dts/framework/remote_session/python_shell.py  |   1 +
 .../single_active_interactive_shell.py        |   3 +-
 dts/framework/runner.py                       |  14 +-
 dts/framework/settings.py                     |   3 +
 dts/framework/test_suite.py                   |   6 +-
 dts/framework/testbed_model/capability.py     |  13 +-
 dts/framework/testbed_model/cpu.py            |  21 +-
 dts/framework/testbed_model/linux_session.py  |   6 +-
 dts/framework/testbed_model/node.py           |   3 +
 dts/framework/testbed_model/os_session.py     |   3 +-
 dts/framework/testbed_model/port.py           |   1 -
 dts/framework/testbed_model/posix_session.py  |  16 +-
 dts/framework/testbed_model/sut_node.py       |   2 +-
 dts/framework/testbed_model/topology.py       |   6 +
 .../traffic_generator/__init__.py             |   3 +
 .../testbed_model/traffic_generator/scapy.py  |   7 +-
 .../traffic_generator/traffic_generator.py    |   3 +-
 dts/framework/utils.py                        |   6 +-
 dts/poetry.lock                               | 197 +++---------------
 dts/pyproject.toml                            |  40 ++--
 dts/tests/TestSuite_vlan.py                   |  22 +-
 24 files changed, 172 insertions(+), 240 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-12-27 12:18 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-10 10:32 [PATCH 0/6] dts: add Ruff and docstring linting Luca Vizzarro
2024-12-10 10:32 ` [PATCH 1/6] dts: add Ruff as linter and formatter Luca Vizzarro
2024-12-10 10:32 ` [PATCH 2/6] dts: enable Ruff preview pydoclint rules Luca Vizzarro
2024-12-10 10:32 ` [PATCH 3/6] dts: fix docstring linter errors Luca Vizzarro
2024-12-10 10:32 ` [PATCH 4/6] dts: apply Ruff formatting Luca Vizzarro
2024-12-10 10:32 ` [PATCH 5/6] dts: update dts-check-format to use Ruff Luca Vizzarro
2024-12-10 10:32 ` [PATCH 6/6] dts: remove old linters and formatters Luca Vizzarro
2024-12-12 14:00 ` [PATCH v2 0/7] dts: add Ruff and docstring linting Luca Vizzarro
2024-12-12 14:00   ` [PATCH v2 1/7] dts: add Ruff as linter and formatter Luca Vizzarro
2024-12-12 14:00   ` [PATCH v2 2/7] dts: enable Ruff preview pydoclint rules Luca Vizzarro
2024-12-12 14:00   ` [PATCH v2 3/7] dts: resolve docstring linter errors Luca Vizzarro
2024-12-12 14:00   ` [PATCH v2 4/7] dts: apply Ruff formatting Luca Vizzarro
2024-12-12 14:00   ` [PATCH v2 5/7] dts: update dts-check-format to use Ruff Luca Vizzarro
2024-12-12 14:00   ` [PATCH v2 6/7] dts: remove old linters and formatters Luca Vizzarro
2024-12-12 14:00   ` [PATCH v2 7/7] dts: update linters in doc page Luca Vizzarro
2024-12-17 10:15     ` Xu, HailinX
2024-12-20 23:14   ` [PATCH v2 0/7] dts: add Ruff and docstring linting Patrick Robb
2024-12-27 12:18     ` Paul Szczepanek

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