Ignore isort on _version.py
The file is generated. This makes `ruff src/` run cleanly (when not running through pre-commit).
This commit is contained in:
parent
5be64c31cb
commit
cb5f738858
|
@ -178,3 +178,6 @@ force-sort-within-sections = true
|
||||||
order-by-type = false
|
order-by-type = false
|
||||||
known-local-folder = ["pytest", "_pytest"]
|
known-local-folder = ["pytest", "_pytest"]
|
||||||
lines-after-imports = 2
|
lines-after-imports = 2
|
||||||
|
|
||||||
|
[tool.ruff.lint.per-file-ignores]
|
||||||
|
"src/_pytest/_version.py" = ["I001"]
|
||||||
|
|
Loading…
Reference in New Issue