forked from netascode/iac-validate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
61 lines (53 loc) · 1.56 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
[tool.poetry]
authors = ["Daniel Schmidt <[email protected]>"]
description = "A CLI tool to perform syntactic and semantic validation of YAML files."
documentation = "https://github.com/netascode/iac-validate"
homepage = "https://github.com/netascode/iac-validate"
license = "LICENSE"
maintainers = ["Daniel Schmidt <[email protected]>"]
name = "iac-validate"
readme = "README.md"
repository = "https://github.com/netascode/iac-validate"
version = "0.2.5"
[tool.poetry.scripts]
iac-validate = "iac_validate.cli.main:main"
[tool.poetry.dependencies]
click = "^8.0.4"
errorhandler = "^2.0.1"
python = "^3.8"
ruamel-yaml = ">0.16.10"
yamale = "^4.0.3"
[tool.poetry.group.dev.dependencies]
ansible-core = "^2.13.2"
mypy = "^1.10.0"
pre-commit = "^3.5"
pytest = "^8.2.0"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
ruff = "^0.5.6"
[tool.coverage.run]
source = ["iac_validate"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "@abstract", "except ImportError:"]
omit = ["*/__main__.py"]
[tool.mypy]
# The mypy configurations: http://bit.ly/2zEl9WI
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_decorators = false
disallow_untyped_defs = true
ignore_errors = false
ignore_missing_imports = true
python_version = 3.8
strict_optional = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = false
[tool.pytest.ini_options]
markers = ["unit", "integration"]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry_core"]