-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
41 lines (35 loc) · 1.18 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
[tool.black]
line-length = 100
target-version = ['py311']
[tool.pylama]
linters = "mccabe,pycodestyle,pylint"
skip = "tests/*,.tox/*,venv/*,build/*,private/*,examples/*"
[tool.pylama.pycodestyle]
max_line_length = 100
[tool.pylama.pylint]
rcfile = ".pylintrc"
[tool.pydocstyle]
match-dir = "^nornir_ansible/*"
ignore = "D101,D202,D203,D212,D400,D406,D407,D408,D409,D415"
# D101: missing docstring in public class
# D202: No blank lines allowed after function docstring
# D203: 1 blank line required before class docstring
# D212: Multi-line docstring summary should start at the first line
# D400: First line should end with a period
# D406: Section name should end with a newline
# D407: Missing dashed underline after section
# D408: Section underline should be in the line following the sections name
# D409: Section underline should match the length of its name
# D415: first line should end with a period, question mark, or exclamation point
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
include_trailing_comma = true
[tool.mypy]
python_version = "3.11"
pretty = true
ignore_missing_imports = true
warn_redundant_casts = true
warn_unused_configs = true
strict_optional = true