-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
setup.cfg
63 lines (49 loc) · 1.38 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
56
57
58
59
60
61
62
63
[bdist_wheel]
universal = 0
[metadata]
license_file = LICENSE
[pylama]
linters = mccabe,pycodestyle,pyflakes
ignore = D203,C901
skip = build/*,.tox/*,examples/use_cases/*,.venv/*,netmiko/_telnetlib/*
[pylama:pycodestyle]
max_line_length = 100
[tool:pytest]
addopts = -rs
[mypy]
# The mypy configurations: http://bit.ly/2zEl9WI
python_version = 3.9
exclude = (netmiko/_telnetlib)
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
[mypy-netmiko.cli_tools.helpers]
ignore_errors = True
[mypy-netmiko.cli_tools.outputters]
ignore_errors = True
[mypy-netmiko.cli_tools.argument_handling]
ignore_errors = True
[mypy-netmiko.cli_tools.netmiko_encrypt]
ignore_errors = True
[mypy-netmiko.cli_tools.netmiko_bulk_encrypt]
ignore_errors = True