pyproject: Ignore ICN001 ruff rule

Cockpit projects to not adhere to the convention to import datetime as
dt.
This commit is contained in:
Jelle van der Waa 2026-10-16 11:31:39 +02:00 committed by Jelle van der Waa
parent 9c5048d959
commit fd00db13c5

View file

@ -158,6 +158,7 @@ ignore = [
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
"TC001", # Move application import into a type-checking block
"TC002", # Move third-party import `..packages.Packages` into a type-checking block
"ICN001", # ignore rule "import datetime as dt"
]
[tool.ruff.lint.flake8-pytest-style]