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"] ...@@ -8,6 +8,18 @@ known_first_party = ["test"]
[tool.black] [tool.black]
line-length = 120 line-length = 120
target-version = ["py310"] 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] [tool.mypy]
exclude = "venv" exclude = "venv"
...@@ -84,5 +96,5 @@ ban-relative-imports = "all" ...@@ -84,5 +96,5 @@ ban-relative-imports = "all"
"test/*" = ["S101", "B033", "N816", "N802"] "test/*" = ["S101", "B033", "N816", "N802"]
[tool.ruff.isort] [tool.ruff.isort]
known-third-party = ["pydantic"] known-third-party = ["pydantic", "migrations"]
known-first-party = ["migrations", "test"] 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