-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
70 lines (57 loc) · 1.35 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
[tool.poetry]
name = "cinder_snapshooter"
version = "2.0.0"
description = "A set of scripts to run periodically in order to automate cinder snapshot creation/deletion"
authors = [
"Nicolas Belouin <[email protected]>"
]
license = "Apache-2.0"
readme = "README.md"
packages = [
{ include = "cinder_snapshooter", from = "src" }
]
include = [
{ path = "tests", format = "sdist" }
]
[tool.poetry.dependencies]
python = "^3.7"
openstacksdk = "^0.61.0"
structlog = "^21.4.0"
python-dateutil = "^2.8.2"
eventlet = ">=0.26.0"
tenacity = "^8.2.2"
[tool.poetry.dev-dependencies]
rich = "^10.15.2"
black = "^21.11b1"
pytest = "^6.2.5"
pytest-mock = "^3.6.1"
Faker = "^9.9.0"
pytest-cov = "^3.0.0"
time-machine = "^2.4.1"
pylint = "^2.12.2"
pytest-structlog = "^0.5"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
cinder-snapshooter = 'cinder_snapshooter.cli:cli'
[tool.black]
target-version = ['py37']
[tool.isort]
py_version = 37
profile = "black"
force_single_line = false
combine_as_imports = true
lines_between_types = 1
lines_after_imports = 2
src_paths = ["src", "tests"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --cov=cinder_snapshooter"
testpaths = [
"tests",
]
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "88"