-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
51 lines (44 loc) · 1.28 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
[tool.ruff]
line-length = 120
[tool.ruff.lint]
fixable = ["ALL"]
select = ["ALL"]
extend-select = [
"E", # Pydocstyle-errors
"W", # Pydocstyle-warnings
"F", # Pyflakes
"PL", # Pylint
"I", # isort
"C90", # mccabe
"UP", # pyupgrade
"N", # pep8-naming
"D", # pydocstyle
"B", # flake8-bugbear
"A", # flake8-builtins
"PT", # flake8-pytest-style
"Q", # flake8-quotes
"RUF", # Ruff-specific rules
"COM", # flake8-commas
]
ignore = [
"COM812", "ISC001", # "Trailing comma missing"
"D100", # Docstrings in public module
"D107", # Missing docstring in `__init__`
"N812", # Lowercase `functional` imported as non-lowercase `F
"T201", # `print` found
"PLR0913", # Too many arguments in function definition
"FBT003", # Boolean positional value in function call
"S101", # Use of `assert` detected
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
ignore_missing_imports = true
# strict = true # TODO: eventually add back proper type checks
[tool.pytest.ini_options]
python_files = ["test_*.py"]