mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
pyproject: Ignore ICN001 ruff rule
Cockpit projects to not adhere to the convention to import datetime as dt.
This commit is contained in:
parent
9c5048d959
commit
fd00db13c5
1 changed files with 1 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue