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

ignore docs folder in linting pipeline

parent 4a94f99a
No related branches found
No related tags found
1 merge request!38Update documentation
Pipeline #83196 failed
...@@ -18,9 +18,9 @@ packages = ["gso"] ...@@ -18,9 +18,9 @@ packages = ["gso"]
[tool.isort] [tool.isort]
profile = "black" profile = "black"
line_length = 120 line_length = 120
skip = ["venv", ".tox", "gso/migrations"] skip = ["venv", ".tox", "gso/migrations", "docs"]
known_third_party = ["pydantic", "migrations"] known_third_party = ["pydantic", "migrations"]
known_first_party = ["test"] known_first_party = ["test", "docs"]
[tool.black] [tool.black]
line-length = 120 line-length = 120
...@@ -33,6 +33,7 @@ exclude = ''' ...@@ -33,6 +33,7 @@ exclude = '''
| \.*_cache | \.*_cache
| \.tox | \.tox
| venv | venv
| docs
| gso/migrations | gso/migrations
)/ )/
) )
...@@ -41,7 +42,8 @@ exclude = ''' ...@@ -41,7 +42,8 @@ exclude = '''
[tool.mypy] [tool.mypy]
exclude = [ exclude = [
"venv", "venv",
"test/*" "test/*",
"docs"
] ]
ignore_missing_imports = true ignore_missing_imports = true
disallow_untyped_calls = true disallow_untyped_calls = true
...@@ -72,6 +74,7 @@ exclude = [ ...@@ -72,6 +74,7 @@ exclude = [
"htmlcov", "htmlcov",
"venv", "venv",
"gso/migrations", "gso/migrations",
"docs",
"_ipam.py" # TODO: remove "_ipam.py" # TODO: remove
] ]
ignore = [ ignore = [
...@@ -122,4 +125,4 @@ ban-relative-imports = "all" ...@@ -122,4 +125,4 @@ ban-relative-imports = "all"
[tool.ruff.isort] [tool.ruff.isort]
known-third-party = ["pydantic", "migrations"] known-third-party = ["pydantic", "migrations"]
known-first-party = ["test"] known-first-party = ["test", "docs"]
[flake8] [flake8]
ignore = D100,D101,D102,D103,D104,D105,D106,D107,D202,E501,RST301,RST304,W503,E203,C417,T202,S101 ignore = D100,D101,D102,D103,D104,D105,D106,D107,D202,E501,RST301,RST304,W503,E203,C417,T202,S101
; extend-ignore = E203 ; 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 enable-extensions = G
select = B,C,D,E,F,G,I,N,S,T,W,B902,B903,R select = B,C,D,E,F,G,I,N,S,T,W,B902,B903,R
max-line-length = 120 max-line-length = 120
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment