Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (49 loc) · 1.42 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (49 loc) · 1.42 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
[project]
name = "pyinfra-nginx"
version = "0.1.0"
description = "Install and uninstall a high-performance, flexible nginx with pyinfra, with helpers to add/remove vhosts."
authors = [
{ name = "Adrien Mannocci", email = "adrien.mannocci@gmail.com" }
]
license = { text = "Apache-2.0" }
readme = "README.md"
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.12,<3.14"
dependencies = [
"pyinfra>=3", # MIT
]
[project.urls]
Repository = "https://github.com/techcode-io/pyinfra-nginx"
Documentation = "https://github.com/techcode-io/pyinfra-nginx"
Changelog = "https://github.com/techcode-io/pyinfra-nginx/CHANGELOG.md"
Tracker = "https://github.com/techcode-io/pyinfra-nginx/issues"
[build-system]
requires = ["uv_build>=0.11.28,<0.13.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"poethepoet>=0.48.0", # MIT
"pre-commit>=4.6.0", # MIT
"pytest>=9.1.1", # MIT
"ruff>=0.15.21", # MIT
"urllib3>=2.6.0", # MIT
]
[tool.poe.tasks."env:configure"]
help = "Setup project environment."
cmd = "pre-commit install"
[tool.poe.tasks.lint]
help = "Lint code project."
cmd = "ruff check src"
[tool.poe.tasks.fmt]
help = "Format code project."
sequence = [
{ cmd = "ruff check --select I --fix" },
{ cmd = "ruff format" },
]
[tool.poe.tasks.test]
help = "Run all tests."
cmd = "pytest tests"