-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
49 lines (48 loc) · 1.24 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
[tool.ruff]
ignore-init-module-imports = true
line-length = 88
target-version = "py311"
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"ASYNC", # flake8-async
"B", # flake8-bugbear
"A", # flake8-builtins
"COM", # flake8-commas
"C4", # flake8-comprehensions
"EM", # flake8-errmsg
"ISC", # flake8-implicit-str-concat
"PIE", # flake8-pie
"PYI", # flake8-pyi
"Q", # flake8-quotes
"RSE", # flake8-raise
"SLF", # flake8-self
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
"ARG", # flake8-unused-arguments
"PTH", # flake8-use-pathlib
"PGH", # pygrep-hooks
"PLC", # pylint convention
"PLE", # pylint error
"PLR", # pylint refactor
"PLW", # pylint warning
"TRY", # tryceratops
"FLY", # flynt
"RUF", # Ruff-specific rules
]
ignore = [
"PTH123", # open("foo") should be replaced by Path("foo").open()
"PLR0913", # Too many function arguments
]
exclude = [
".git",
".mypy_cache",
".ruff_cache",
".venv",
]
[tool.ruff.flake8-unused-arguments]
ignore-variadic-names = true