-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
28 lines (24 loc) · 795 Bytes
/
pyproject.toml
File metadata and controls
28 lines (24 loc) · 795 Bytes
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
[tool.black]
line-length = 120
target_version = ["py39", "py310", "py311"]
[tool.ruff]
src = ["jobby"]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = [
"D", # pydocstyle
"E", "W", # pycodestyle
"F", # flake8
"I", # isort
]
ignore = [
"D1", # D1: Missing docstring error codes (because not every function and class has a docstring)
"D203", # D203: 1 blank line required before class docstring (conflicts with D211 and should be disabled, see https://github.com/PyCQA/pydocstyle/pull/91)
"D205", # D205: 1 blank line required between summary line and description
"D212", # D212: Multi-line docstring summary should start at the first line
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pycodestyle]
max-doc-length = 88