-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.ruff.toml
51 lines (45 loc) · 954 Bytes
/
.ruff.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
select = [
"E",
"F",
"W505",
"PT018",
"Q000",
"SIM101",
"SIM114",
"PGH004",
"PLE1142",
"RUF100",
"ANN001",
"ANN201",
"ANN202",
"ANN204",
"ANN205",
"ANN206",
"TCH"
]
line-length = 120
format = "grouped"
target-version = "py310"
cache-dir = "./httpfpt/.ruff_cache"
extend-exclude = ["httpfpt/conftest.py"]
[flake8-pytest-style]
mark-parentheses = false
parametrize-names-type = "list"
parametrize-values-row-type = "list"
parametrize-values-type = "tuple"
[flake8-quotes]
avoid-escape = false
docstring-quotes = "double"
inline-quotes = "single"
multiline-quotes = "single"
[flake8-unused-arguments]
ignore-variadic-names = true
[isort]
lines-between-types = 1
order-by-type = true
[flake8-annotations]
mypy-init-return = true
[per-file-ignores]
"httpfpt/testcases/test_*.py" = ["ANN001", "ANN201"]
"httpfpt/conftest.py" = ["ANN001", "ANN201", "ANN202"]
"httpfpt/cli.py" = ["E402"]