forked from strictdoc-project/reqif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruff.toml
58 lines (54 loc) · 945 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
52
53
54
55
56
57
58
select = [
"A",
"ARG",
"B",
# "BLE",
# "C",
# "C4",
# "C90" mccabe
# "COM",
# "D",
# "DTZ",
# "E",
"EXE",
"ERA",
"F",
# "FBT",
"G",
"I",
"ISC",
"ICN",
# "N",
"PGH",
# "PIE",
# "PL", # Pylint
# "PT", # pytest
# "PTH",
"Q", # Quotes
# "RET",
# "RUF",
# "S",
# "SIM",
# "SLF",
"T20",
# "TCH",
# "TRY",
# "UP",
"W",
"YTT",
]
ignore = [
# Never enforce `E501` (line length violations).
"E501",
# A warning by ruff format:
# warning: The following rules may cause conflicts when used with the formatter: `ISC001`.
"ISC001",
]
# Avoid trying to fix flake8-bugbear (`B`) violations.
unfixable = ["B"]
[per-file-ignores]
"strictdoc/server/routers/main_router.py" = ["B008"]
"tests/integration/check_exists.py" = ["T201"]
"tests/integration/diff.py" = ["T201"]
"tests/integration/expect_exit.py" = ["T201"]
"tests/integration/html_markup_validator.py" = ["T201"]