-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
65 lines (65 loc) · 1.21 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
59
60
61
62
63
64
65
[tool.ruff.lint]
select = [
"ASYNC", # flake8-async
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"COM", # flake8-commas
"DJ", # flake8-django
"E", # pycodestyle
"F", # Pyflakes
"FBT", # flake8-boolean-trap
"FLY", # flynt
"G", # flake8-logging-format
"INT", # flake8-gettext
"ISC", # flake8-implicit-str-concat
"NPY", # NumPy-specific rules
"PD", # pandas-vet
"PIE", # flake8-pie
"PLE", # Pylint errors
"PT", # flake8-pytest-style
"RET504", # flake8-return
"RSE", # flake8-raise
"SIM", # flake8-simplify
"T10", # flake8-debugger
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
"RUF", # Ruff-specific rules
]
ignore = [
"B008",
"B018",
"C408",
"COM812",
"DJ007",
"DJ008",
"E721",
"E731",
"E741",
"FBT003",
"PD011",
"PD901",
"PIE790", # See https://github.com/astral-sh/ruff/issues/10538
"PT001",
"PT003",
"PT006",
"PT007",
"PT009",
"PT011",
"PT012",
"PT013",
"PT017",
"PT019",
"PT023",
"PT027",
"RUF017",
"SIM102",
"SIM105",
"SIM108",
"SIM114",
"SIM117",
"SIM300",
"UP031",
"UP037",
]