diff --git a/pyproject.toml b/pyproject.toml index 698b09fa88a9a80f465903ccda0607ac6755d448..a51ecf825cdcd9d828d9370f63acb2b6b405bd38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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