Skip to content

Commit 8e2125a

Browse files
committed
🆙 Updated settings
1 parent eff2e21 commit 8e2125a

File tree

1 file changed

+72
-24
lines changed

1 file changed

+72
-24
lines changed

pyproject.toml

Lines changed: 72 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,78 @@
11
[tool.ruff]
2-
extend-select = [
3-
"ASYNC", # flake8-async
4-
"B", # flake8-bugbear
5-
"C4", # flake8-comprehensions
6-
"C90", # McCabe cyclomatic complexity
7-
"DJ", # flake8-django
8-
"E", # pycodestyle errors
9-
"F", # Pyflakes
10-
"FBT", # flake8-boolean-trap
11-
"I", # isort
12-
"INT", # flake8-gettext
13-
"PGH", # pygrep-hooks
14-
"PIE", # flake8-pie
15-
"RUF100", # Unused noqa directive
16-
"SIM", # flake8-simplify
17-
"SLOT", # flake8-slots
18-
"UP", # pyupgrade
19-
"W", # pycodestyle warnings
20-
]
2+
target-version = "py313"
3+
214
fix = true
225
show-fixes = true
23-
target-version = "py312"
24-
25-
[tool.ruff.isort]
26-
combine-as-imports = true
6+
ignore = [
7+
"T201", # `print` found
8+
]
9+
extend-select = [
10+
"A", # flake8-builtins
11+
"AIR", # Airflow
12+
"ANN", # flake8-annotations
13+
"ARG", # flake8-unused-arguments
14+
"ASYNC", # flake8-async
15+
"B", # flake8-bugbear
16+
"BLE", # flake8-blind-except
17+
"C4", # flake8-comprehensions
18+
"C90", # McCabe cyclomatic complexity
19+
"COM", # flake8-commas
20+
"CPY", # flake8-copyright
21+
"D", # pydocstyle
22+
"DJ", # flake8-django
23+
"DOC", # pydoclint
24+
"DTZ", # flake8-datetimez
25+
"E", # pycodestyle errors
26+
"EM", # flake8-errmsg
27+
"ERA", # eradicate
28+
"EXE", # flake8-executable
29+
"F", # Pyflakes
30+
"FA", # flake8-future-annotations
31+
"FAST", # FastAPI
32+
"FBT", # flake8-boolean-trap
33+
"FIX", # flake8-fixme
34+
"FLY", # flynt
35+
"FURB", # refurb
36+
"G", # flake8-logging-format
37+
"I", # isort
38+
"ICN", # flake8-import-conventions
39+
"INP", # flake8-no-pep420
40+
"INT", # flake8-gettext
41+
"ISC", # flake8-implicit-str-concat
42+
"LOG", # flake8-logging
43+
"N", # pep8-naming
44+
"NPY", # NumPy-specific rules
45+
"PD", # pandas-vet
46+
"PERF", # Perflint
47+
"PGH", # pygrep-hooks
48+
"PIE", # flake8-pie
49+
"PLC", # Pylint Convention
50+
"PLE", # Pylint Error
51+
"PLR", # Pylint Refactor
52+
"PLW", # Pylint Warning
53+
"PT", # flake8-pytest-style
54+
"PTH", # flake8-use-pathlib
55+
"PYI", # flake8-pyi
56+
"Q", # flake8-quotes
57+
"RET", # flake8-return
58+
"RSE", # flake8-raise
59+
"RUF", # Ruff-specific rules
60+
"S", # flake8-bandit
61+
"SIM", # flake8-simplify
62+
"SLF", # flake8-self
63+
"SLOT", # flake8-slots
64+
"T10", # flake8-debugger
65+
"T20", # flake8-print
66+
"TC", # flake8-type-checking
67+
"TD", # flake8-todos
68+
"TID", # flake8-tidy-imports
69+
"TRY", # tryceratops
70+
"UP", # pyupgrade
71+
"W", # pycodestyle warnings
72+
"YTT", # flake8-2020
73+
]
74+
isort.combine-as-imports = true
2775

2876
[tool.mypy]
2977
ignore_missing_imports = true
30-
python_version = "3.12"
78+
python_version = "3.13"

0 commit comments

Comments
 (0)