Skip to content
Snippets Groups Projects
Verified Commit 0b2eaf6e authored by Haoyu Yang's avatar Haoyu Yang
Browse files

enable I001 ruff rule

parent 3f88e3e5
No related branches found
No related tags found
2 merge requests!2421Removed direct infrastructure dependency from mkdocs macros,!2379Re re apply sort imports
......@@ -154,6 +154,7 @@ indent-width = 4
select = [
"E", # pycodestyle
"F401", # remove unused import
"I001", # sort imports
"PL", # pylint
"UP", # pyupgrade
"W", # pycodestyle
......@@ -174,9 +175,10 @@ ignore = [
"PLR5501", # else-if-used
]
fixable = ["ALL"]
isort.split-on-trailing-comma = false
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = ["F401"]
"__init__.py" = ["F401", "I001"]
"nomad/app/v1/models/graph/utils.py" = [
"UP007",
] # causes pydantic model building errors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment