Add exclusions and line-length for ruff lint support
This commit is contained in:
parent
5b2963fc46
commit
d74b4c4dee
1 changed files with 17 additions and 0 deletions
|
|
@ -170,3 +170,20 @@ omit = [
|
||||||
"*.pyc",
|
"*.pyc",
|
||||||
"*.service",
|
"*.service",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
|
exclude = [
|
||||||
|
"/.eggs/",
|
||||||
|
"/.git/",
|
||||||
|
"/.hg/",
|
||||||
|
"/.mypy_cache/",
|
||||||
|
"/.tox/",
|
||||||
|
"/.venv/",
|
||||||
|
"/_build/",
|
||||||
|
"/buck-out/",
|
||||||
|
"/build/",
|
||||||
|
"/dist/",
|
||||||
|
"migrations",
|
||||||
|
"docs",
|
||||||
|
]
|
||||||
|
line-length = 100
|
||||||
Loading…
Add table
Add a link
Reference in a new issue