-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ruff.toml
51 lines (49 loc) · 857 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
lint.select = ["ALL"]
lint.fixable = ["ALL"]
lint.ignore = [
"COM812",
"D203",
"D205",
"D212",
"D401",
"D404",
"PD004",
"PD010",
"PD013",
"S314",
"SIM115",
]
extend-include = ["*.ipynb"]
exclude = [
".eggs",
".git",
".venv",
"__pypackages__",
"build",
"tests",
"__init__.py",
"test",
]
line-length = 120
indent-width = 4
[lint.extend-per-file-ignores]
# PLR2004 : Magic values are used to validate the test
# D101, D100, D102 : Missing docstring in test is allowed
# ANN001, ANN101, ANN201 : Type annotation in test
# PLR0913 : Too many arguments ?
# ERA001 : Comments out of code ?
"test/*" = [
"S101",
"SLF001",
"PLR2004",
"D102",
"D100",
"D101",
"D103",
"ANN001",
"ANN101",
"ANN201",
"PLR0913",
"ERA001",
]
"*.ipynb" = ["D100"]