Update isort configuration

This commit is contained in:
Matthias 2024-05-12 15:07:00 +02:00
parent c8ebaef936
commit 38c69e9258

View File

@ -77,7 +77,7 @@ exclude = '''
line_length = 100
profile = "black"
# multi_line_output=3
# lines_after_imports=2
lines_after_imports=2
skip_glob = ["**/.env*", "**/env/*", "**/.venv/*", "**/docs/*", "**/user_data/*"]
[tool.pytest.ini_options]
@ -129,6 +129,7 @@ extend-select = [
"E", # pycodestyle
"W", # pycodestyle
"UP", # pyupgrade
"I", # isort
"TID", # flake8-tidy-imports
# "EXE", # flake8-executable
# "C4", # flake8-comprehensions
@ -157,6 +158,9 @@ max-complexity = 12
# Allow default arguments like, e.g., `data: List[str] = fastapi.Query(None)`.
extend-immutable-calls = ["fastapi.Depends", "fastapi.Query"]
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.flake8]
# Default from https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-ignore
# minus E226