From 3f49809f211c514e2e5d39a4692c127596c83db8 Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Fri, 30 Jun 2023 10:57:57 +0200 Subject: [PATCH] update black directory exclusion settings --- pyproject.toml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2ec5b34d..bddd8287 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] -- GitLab