-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (48 loc) · 1.15 KB
/
pyproject.toml
File metadata and controls
57 lines (48 loc) · 1.15 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
[project]
name = "machine"
version = "1.0.0"
description = "Utility for creating and managing VMs"
readme = "README.md"
license = "AGPL-3.0-only"
requires-python = ">=3.10"
authors = [
{ name = "Stirlingbridge", email = "info@stirlingbridge.website" },
]
classifiers = [
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
]
dependencies = [
"click==8.1.7",
"python-digitalocean==1.17.0",
"ruamel.yaml>=0.17.32",
"requests>=2.32.4",
"expandvars==1.0.0",
"vultr-python>=0.1.5",
]
[project.scripts]
machine = "machine.main:main"
[project.urls]
Homepage = "https://github.com/stirlingbridge/machine"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
markers = [
"e2e: end-to-end tests that create real resources on DigitalOcean (require E2E_* env vars)",
]
addopts = "-m 'not e2e'"
[dependency-groups]
dev = [
"ruff",
"pytest",
]
[tool.ruff]
line-length = 132
[tool.ruff.lint]
select = ["E", "F", "W", "C90"]
ignore = ["E203"]
[tool.ruff.lint.mccabe]
max-complexity = 25
[tool.ruff.lint.per-file-ignores]
"machine/cloud_config.py" = ["E501"]