style: ruff format and the lint rules of the driver standard

The rule set every NAPALM driver uses (E, F, I, UP, B at line length 100,
Python 3.10). The code already meets it: ruff format and ruff check --fix
change nothing.
This commit is contained in:
Christian Manivong committed 2026-10-23 08:41:56 +02:00
1 parent 59e660f0ab
commit 06a39b49b3
1 file changed
+8 -1
+8 -1
View File
@@ -53,4 +53,11 @@ include = ["napalm_hpe_officeconnect*"]
[tool.ruff]
line-length = 100
target-version = "py38"
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.ruff.lint.per-file-ignores]
# Recorded device output keeps its lines.
"tests/**" = ["E501"]