generated from sco1/py-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ruff.toml
74 lines (69 loc) · 1 KB
/
.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
line-length = 100
fix = false
output-format = "grouped"
extend-exclude = [
"__pycache__",
".cache",
]
[lint]
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"D", # pydocstyle/flake8-docstrings
"F", # Pyflakes
"FIX", # flake8-fixme
"N", # pep8-naming
]
ignore = [
# pydocstyle
"D100",
"D104",
"D105",
"D107",
"D203",
"D212",
"D214",
"D215",
"D301",
"D400",
"D401",
"D402",
"D404",
"D405",
"D406",
"D407",
"D408",
"D409",
"D410",
"D411",
"D412",
"D413",
"D414",
"D416",
"D417",
# pep8-naming
"N802",
"N806",
"N815",
]
[lint.per-file-ignores]
"tests/test_*.py" = [
"D101",
"D103",
]
"tests/conftest.py" = [
"D101",
"D103",
]
"pyflysight/config_params.py" = [
"D101",
]
"pyflysight/exceptions.py" = [
"D101",
]
[lint.flake8-bugbear]
extend-immutable-calls = [
# Typer CLI
"typer.Option",
"typer.Argument",
]