-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (74 loc) · 1.08 KB
/
pyproject.toml
File metadata and controls
80 lines (74 loc) · 1.08 KB
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
75
76
77
78
79
80
[tool.isort]
profile = "black"
force_single_line = true
add_imports = "from __future__ import annotations"
[tool.ruff]
fix = true
[tool.ruff.lint]
select = [
"A",
"ANN",
"ARG",
"B",
"BLE",
"COM",
"C4",
"C90",
"D",
"DTZ",
"E",
"EM",
"ERA",
"EXE",
"F",
# "FBT",
"G",
"I",
"ICN",
"INP",
"ISC",
"N",
"NPY",
"PD",
"PGH",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"Q",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"SLF",
"TCH",
"TID",
"TRY",
"T10",
"T20",
"W",
]
ignore = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D107",
"D205",
"D203",
"D213",
"ERA001",
"PLR2004",
]
[tool.ruff.lint.per-file-ignores]
"*/tests/*.py" = ["S101"]
"advent_of_code_2021/day16/main.py" = ["PLR0911"]
"advent_of_code_2022/day11/main.py" = ["C901"]
"advent_of_code_2022/day13/main.py" = ["PGH001", "PLW2901", "S307"]
"advent_of_code_2022/day14/main.py" = ["C901", "PLR0912"]
[tool.ruff.lint.isort]
force-single-line = true