forked from ktbyers/netmiko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
47 lines (38 loc) · 1.04 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
[bdist_wheel]
universal = 0
[metadata]
license_file = LICENSE
[pylama]
linters = mccabe,pycodestyle,pyflakes
ignore = D203,C901
skip = build/*,.tox/*,netmiko/,examples/use_cases/*,.venv/*
[pylama:pycodestyle]
max_line_length = 100
[tool:pytest]
addopts = -rs
[mypy]
# The mypy configurations: http://bit.ly/2zEl9WI
python_version = 3.6
check_untyped_defs = True
disallow_any_generics = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
disallow_untyped_decorators = True
ignore_errors = False
ignore_missing_imports = True
strict_optional = True
warn_unused_configs = True
warn_unused_ignores = True
warn_return_any = True
warn_redundant_casts = True
[mypy-netmiko.base_connection]
# CI-CD (GitHub actions was giving me errors on the two type: ignore lines
# in base_connection.py associated with Tenacity.
warn_unused_ignores = False
[mypy-netmiko.cli_tools.netmiko_grep]
ignore_errors = True
[mypy-netmiko.cli_tools.netmiko_cfg]
ignore_errors = True
[mypy-netmiko.cli_tools.netmiko_show]
ignore_errors = True