-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
66 lines (59 loc) · 1.39 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
# PEP 518: https://www.python.org/dev/peps/pep-0518/
[tool.poetry]
name = "wapi2nsconf"
version = "0.4.2"
description = "Infoblox WAPI to DNS server configuration tool"
authors = ["Jakob Schlyter <[email protected]>"]
license = "BSD"
repository = "https://github.com/kirei/wapi2nsconf"
readme = "README.md"
[tool.poetry.scripts]
wapi2nsconf = "wapi2nsconf.cli:main"
#wapi2catz = "wapi2nsconf.catz:main"
[tool.poetry.dependencies]
Jinja2 = "^3.0.3"
python = "^3.7"
PyYAML = "^6"
requests = "^2.25.0"
urllib3 = "^1.26.2"
voluptuous = "^0.12.0"
[tool.poetry.group.dev.dependencies]
pytest = "^6.1.2"
ruff = "^0.6.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_calls = false
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_subclassing_any = true
disallow_untyped_decorators = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
warn_unused_configs = true
no_implicit_optional = true
strict_optional = true
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["E501", "I001", "SIM102"]
exclude = ["examples/*"]
[tool.ruff.lint.isort]
combine-as-imports = true
split-on-trailing-comma = false