Skip to content
Snippets Groups Projects
Verified Commit 3f49809f authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

update black directory exclusion settings

parent 4d1d48ec
No related branches found
No related tags found
1 merge request!36Add linter tools, and resolve all linting errors
......@@ -8,6 +8,18 @@ known_first_party = ["test"]
[tool.black]
line-length = 120
target-version = ["py310"]
exclude = '''
(
/(
geant_service_orchestrator\.egg-info # exclude a few common directories in the
| \.git # root of the project
| \.*_cache
| \.tox
| venv
| gso/migrations
)/
)
'''
[tool.mypy]
exclude = "venv"
......@@ -84,5 +96,5 @@ ban-relative-imports = "all"
"test/*" = ["S101", "B033", "N816", "N802"]
[tool.ruff.isort]
known-third-party = ["pydantic"]
known-first-party = ["migrations", "test"]
known-third-party = ["pydantic", "migrations"]
known-first-party = ["test"]
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