-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (57 loc) · 1011 Bytes
/
Copy pathpyproject.toml
File metadata and controls
59 lines (57 loc) · 1011 Bytes
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
# SPDX-FileCopyrightText: © 2026 Alexander Kromm (m8f) <mmaulwurff@gmail.com>
# SPDX-License-Identifier: CC0-1.0
# https://docs.astral.sh/ruff/
[tool.ruff]
line-length = 85
indent-width = 2
target-version = "py313"
format.quote-style = "single"
# https://docs.astral.sh/ruff/rules/
lint.extend-select = [
"A",
"B",
"BLE",
"C4",
"C90",
"COM",
"E",
"EM",
"ERA",
"F",
"FBT",
"FLY",
"FURB",
"I",
"ISC",
"N",
"PERF",
"PIE",
"PL",
"PTH",
"RET",
"RUF",
"S",
"SIM",
"SLF",
"TID",
"TRY",
"UP",
"W",
]
lint.ignore = [
"COM812",
"PLW2901",
"S603",
]
# https://github.com/crate-ci/typos/blob/master/docs/reference.md
[tool.typos]
files.ignore-hidden = false
default.locale = "en-us"
default.extend-ignore-re = [
"SPDX-FileCopyrightText = .*",
# Ignore blocks between `# spellchecker:off` and `# spellchecker:on`
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
]
[tool.typos.default.extend-words]
aas = "aas"
welp = "welp"