-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (80 loc) · 2.46 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (80 loc) · 2.46 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "deploy-this"
version = "0.1.0"
description = "Push-to-deploy for one important Linux box: git ref + Dockerfile -> routed, TLS'd, health-gated, resource-capped service behind your existing Caddy, with rollback."
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.10"
authors = [{ name = "deploy-this contributors" }]
keywords = ["deploy", "paas", "caddy", "docker", "systemd", "single-server"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: System Administrators",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: System :: Systems Administration",
"Typing :: Typed",
]
dependencies = [
"PyYAML>=6.0",
]
[project.optional-dependencies]
servicebus = ["azure-servicebus>=7.11", "azure-identity>=1.15"]
keyvault = ["azure-keyvault-secrets>=4.7", "azure-identity>=1.15"]
dev = [
"pytest>=8",
"pytest-cov",
"mypy>=1.8",
"ruff>=0.4",
"types-PyYAML",
"build",
]
[project.scripts]
deploy-this = "deploy_this.cli:main"
[project.urls]
Documentation = "https://github.com/jackhumbert/deploy-this-py#readme"
Source = "https://github.com/jackhumbert/deploy-this-py"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
deploy_this = ["py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"caddy: tests that need a real caddy binary (set DEPLOY_THIS_TEST_CADDY=/path/to/caddy)",
]
addopts = "-ra"
[tool.mypy]
python_version = "3.10"
strict = true
warn_unreachable = true
files = ["src/deploy_this", "tests"]
[[tool.mypy.overrides]]
module = ["azure.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["tests.*"]
disallow_untyped_defs = false
check_untyped_defs = true
[tool.ruff]
line-length = 100
target-version = "py310"
src = ["src", "tests"]
extend-exclude = ["*.md"] # fenced code in docs is illustrative, not formatted
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
ignore = ["RUF012", "SIM108", "B008", "E501"] # the formatter owns line length
[tool.coverage.run]
source = ["deploy_this"]
branch = true