-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (65 loc) · 1.69 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
67
68
69
70
71
72
73
74
75
[tool.poetry]
name = "dagos"
version = "0.1.2"
description = "A CLI for managing software environments."
license = "MIT"
authors = ["Lucas Resch <[email protected]>"]
maintainers = ["Lucas Resch <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.7"
click = "^8.1.2"
click-option-group = "^0.5.3"
loguru = "^0.6.0"
PyYAML = "^6.0"
requests = "^2.27.1"
rich = "^12.2.0"
rich-click = "^1.3.0"
yamale = "^4.0.3"
ansible = {version = "^4.10.0", optional = true}
ansible-runner = {version = "^2.1.1", optional = true}
[tool.poetry.dev-dependencies]
black = "^22.3.0"
pre-commit = "^2.17.0"
pytest = "^7.1"
pytest-bdd = "^6.0.0"
pytest-cov = "^3.0.0"
pytest-mock = "^3.8.2"
tox-conda = "^0.9.1"
tox-poetry = "^0.4.1"
reorder-python-imports = "^3.0.1"
[tool.poetry.extras]
ansible = ["ansible", "ansible-runner"]
[tool.black]
# "You should include all Python versions that you want your code to run under."
# Source: https://github.com/psf/black/issues/751
target-version = ['py37', 'py38', 'py39', 'py310']
[tool.pytest.ini_options]
addopts = "--cov=dagos --cov-report=term-missing:skip-covered"
required_plugins = [
"pytest-bdd",
]
markers = [
# Integration tests that modify the system and therefore should run inside a
# container.
"integration",
# Tests that interact with a container engine and therefore may have issues
# running inside a container.
"container"
]
[tool.coverage.run]
branch = true
relative_files = true
source = [
"src/*",
"/root/dagos/src/*"
]
omit = [
"src/dagos/__main__.py",
"tests/*",
"*/.dagos/*"
]
[tool.poetry.scripts]
dagos = "dagos.cli:dagos"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"