diff --git a/pyproject.toml b/pyproject.toml index e3b30045968e907623b058f4f53ff004d7263748..c5609df48c9444c458a52ffdd2bfdfe5c720a266 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,9 +18,9 @@ packages = ["gso"] [tool.isort] profile = "black" line_length = 120 -skip = ["venv", ".tox", "gso/migrations"] +skip = ["venv", ".tox", "gso/migrations", "docs"] known_third_party = ["pydantic", "migrations"] -known_first_party = ["test"] +known_first_party = ["test", "docs"] [tool.black] line-length = 120 @@ -33,6 +33,7 @@ exclude = ''' | \.*_cache | \.tox | venv + | docs | gso/migrations )/ ) @@ -41,7 +42,8 @@ exclude = ''' [tool.mypy] exclude = [ "venv", - "test/*" + "test/*", + "docs" ] ignore_missing_imports = true disallow_untyped_calls = true @@ -72,6 +74,7 @@ exclude = [ "htmlcov", "venv", "gso/migrations", + "docs", "_ipam.py" # TODO: remove ] ignore = [ @@ -122,4 +125,4 @@ ban-relative-imports = "all" [tool.ruff.isort] known-third-party = ["pydantic", "migrations"] -known-first-party = ["test"] +known-first-party = ["test", "docs"] diff --git a/tox.ini b/tox.ini index c355ae922d5d3fc2bca61abf476612e634f689cc..9ecc338588e067595315f54ff124d01965558ec6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [flake8] ignore = D100,D101,D102,D103,D104,D105,D106,D107,D202,E501,RST301,RST304,W503,E203,C417,T202,S101 ; extend-ignore = E203 -exclude = .git,.*_cache,.eggs,*.egg-info,__pycache__,venv,.tox,gso/migrations +exclude = .git,.*_cache,.eggs,*.egg-info,__pycache__,venv,.tox,gso/migrations,docs enable-extensions = G select = B,C,D,E,F,G,I,N,S,T,W,B902,B903,R max-line-length = 120