-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
66 lines (52 loc) · 1.31 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[tool.poetry]
name = "nuts-client-tests"
version = "0.1.0"
description = ""
authors = ["ubaumann <[email protected]>"]
readme = "README.md"
packages = [{include = "nuts_client_tests"}]
[tool.poetry.dependencies]
python = "^3.8.1"
nuts = "^3.2.0"
[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
mypy = "^1.0.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = 3.8
### --strict
warn_unused_configs = true
disallow_any_generics = true
disallow_subclassing_any = true
# disallow_untyped_calls = true
# disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
# no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
# warn_return_any = true
# no_implicit_reexport = true
# strict_equality = true
### Other strictness flags
warn_unreachable = true
disallow_any_unimported = true
### Output
show_error_codes = true
show_error_context = true
pretty = true
[[tool.mypy.overrides]]
module = "ruamel.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "nornir_napalm.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "nornir_netmiko.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "napalm.*"
ignore_missing_imports = true