forked from carlmontanari/scrapli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
55 lines (46 loc) · 1.5 KB
/
setup.cfg
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
[coverage:run]
source = scrapli/
omit = scrapli/transport/plugins/system/ptyprocess.py
[coverage:report]
sort = cover
omit = scrapli/transport/plugins/system/ptyprocess.py
[pylama]
linters = mccabe,pycodestyle,pylint
skip = .nox/*,build/*,docs/*,private/*,scrapli/transport/plugins/system/ptyprocess.py,site/*,tests/*,venv/*
[pylama:pycodestyle]
max_line_length = 100
[pylama:pylint]
rcfile = .pylintrc
[pydocstyle]
match-dir = ^scrapli/*
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
[isort]
profile = black
line_length = 100
multi_line_output = 3
include_trailing_comma = True
known_first_party = scrapli
known_third_party = asyncssh,napalm,pytest
[darglint]
docstring_style = google
strictness = full
ignore = DAR202
[mypy]
python_version = 3.9
pretty = True
ignore_missing_imports = True
warn_redundant_casts = True
warn_unused_configs = True
strict_optional = True
[mypy-scrapli.transport.plugins.system.ptyprocess]
ignore_errors = True