-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
34 lines (30 loc) · 1 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[tool.ruff]
target-version = "py37"
fix = true
show-fixes = true
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D", # pydocstyle
"ANN", # flake8-annotations
"T201", # `print` found
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191", # tab-indentation
"E111", # indentation-with-invalid-multiple
"E114", # indentation-with-invalid-multiple-comment
"E117", # over-indented
"D206", # indent-with-spaces
"D300", # triple-single-quotes
"Q000", # bad-quotes-inline-string
"Q001", # bad-quotes-multiline-string
"Q002", # bad-quotes-docstring
"Q003", # avoidable-escaped-quote
"COM812", # missing-trailing-comma
"COM819", # prohibited-trailing-comma
"ISC001", # single-line-implicit-string-concatenation
"ISC002", # multi-line-implicit-string-concatenation
]
[tool.ruff.lint.per-file-ignores]
"test_replace.py" = ["S101"] # Use of `assert` detected