-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (52 loc) · 1.58 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
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov"
testpaths = ["tests"]
pythonpath = ["."]
[project]
name = "codeowners"
version = "1.0.0"
dynamic = ["dependencies"]
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
[project.scripts]
codeowners = "codeowners.__main__:main"
[tool.setuptools]
packages = ["codeowners"]
[tool.isort]
profile = "black"
[tool.ruff]
pydocstyle.convention = "google"
select = [
"RUF", # Ruff-specific rules
"E", # pycodestyle errors
"W", # pycodestyle warnings
"D", # pydocstyle
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"C", # flake8-comprehensions
"B", # flake8-bugbear
"ANN", # flake8-annotations
"S", # flake8-bandit
"PL", # Pylint
"TRY", # tryceratops
"EM", # flake8-errmsg
"C4", # flake8-comprehensions
"Q", # flake8-quotes
"SIM", # flake8-simplify
"PTH", # flake8-use-pathlib
]
ignore = [
"ANN101", # Missing type annotation for `self` in method
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D104", # Missing docstring in public package
"D107", # Missing docstring in `__init__`
"D213", # Multi-line docstring summary should start at the second line
"E501", # Line too long, handled by black
"PLR2004", # Magic value used in comparison
"S603", # `subprocess` call: check for execution of untrusted input
"S607", # Starting a process with a partial executable path
"TRY400", # Use `logging.exception` instead of `logging.error`
]