-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (60 loc) · 1.5 KB
/
pyproject.toml
File metadata and controls
69 lines (60 loc) · 1.5 KB
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
[project]
authors = [
{name = "Gandi Hosting Squad"},
]
license = {text = "Apache-2.0"}
requires-python = "<4.0,>=3.9"
dependencies = [
"openstacksdk<1.0.0,>=0.61.0",
"structlog<22.0.0,>=21.4.0",
"python-dateutil<3.0.0,>=2.8.2",
"eventlet>=0.26.0",
"tenacity<9.0.0,>=8.2.2",
"setuptools>=80.9.0",
"sentry-sdk>=2.32.0",
"structlog-sentry>=2.2.1",
]
name = "cinder_snapshooter"
version = "2.0.0"
description = "A set of scripts to run periodically in order to automate cinder snapshot creation/deletion"
[project.scripts]
cinder-snapshooter = "cinder_snapshooter.cli:cli"
[dependency-groups]
dev = [
"rich<11.0.0,>=10.15.2",
"black<23.0,>=22.3.0",
"pytest<7.0.0,>=6.2.5",
"pytest-mock<4.0.0,>=3.6.1",
"Faker<10.0.0,>=9.9.0",
"pytest-cov<4.0.0,>=3.0.0",
"time-machine<3.0.0,>=2.4.1",
"pylint<3.0.0,>=2.12.2",
"pytest-structlog<1.0,>=0.5",
"pytest-black",
"pytest-isort",
]
[tool.pdm.build]
includes = ["src/cinder_snapshooter"]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.black]
target-version = ['py39']
[tool.isort]
py_version = 39
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 --black --isort"
testpaths = [
"tests",
]
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "88"