-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (56 loc) · 947 Bytes
/
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
59
60
61
62
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 88
[tool.mypy]
strict = true
ignore_missing_imports = true
exclude = "tests"
[tool.pyright]
typeCheckingMode = "strict"
[tool.len8]
exclude = ["tests", "severn/ux.py"]
code-length = 88
[tool.coverage.report]
omit = [
"severn/__init__.py",
"severn/__main__.py",
"severn/types.py",
"severn/ux.py",
]
exclude_lines = [
"if t.TYPE_CHECKING:",
"raise NotImplementedError",
"return NotImplemented",
"except KeyboardInterrupt as exc",
]
[tool.ruff]
extend-select = [
"B",
"BLE",
"C4",
"ERA",
"I",
"ICN",
"INP",
"ISC",
"N",
"NPY",
"PGH",
"PIE",
"PTH",
"Q",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"T20",
"TCH",
"TID",
"YTT",
]
ignore = ["B905", "E402", "N818", "S101"]
show-fixes = true
target-version = "py38"