-
Notifications
You must be signed in to change notification settings - Fork 38
/
pyproject.toml
58 lines (56 loc) · 1.03 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[tool.black]
target-version = ['py38']
line-length = 100
[tool.mypy]
exclude = [
'.*__init__\.py$',
'^build.*'
]
[tool.ruff]
lint.unfixable = []
exclude = [
"atest",
"example"
]
lint.ignore = [
"B008", # do not perform function calls in argument defaults
"E501", # line too long
"N815", # mixedCase variable in class scope
"N803", # argument name should be lowercase
"N806", # variable in function should be lowercase
"N812", # lowercase imported as non lowercase
"W605", # invalid escape sequence would destroy docs
"RUF002", # Docstring contains ambiguous
"N801", # Class name `xxx` should use CapWords convention
"PLR0913", # Too many arguments to function call
"N999", # Invalid module name:
"PTH207", # Replace `glob` with `Path.glob` or `Path.rglob`
]
target-version = "py37"
lint.select = [
"E",
"F",
"W",
"C90",
"I",
"N",
"B",
"PYI",
"PL",
"PTH",
"UP",
"A",
"C4",
"DTZ",
"ISC",
"ICN",
"INP",
"PIE",
"T20",
"PYI",
"PT",
"RSE",
"RET",
"SIM",
"RUF"
]