Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (71 loc) · 1.99 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (71 loc) · 1.99 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
[project]
name = "proclet"
version = "0.1.1.dev0"
description = "Fluent, typed subprocess wrapper with sync and async execution and pipelines."
authors = [
{ name = "Adrien Mannocci", email = "adrien.mannocci@gmail.com" }
]
license = "Apache-2.0"
license-files = ["LICENSE"]
readme = "README.md"
keywords = ["subprocess", "process", "pipeline", "asyncio", "shell"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Shells",
"Typing :: Typed",
]
dependencies = []
requires-python = ">=3.12"
[project.urls]
Repository = "https://github.com/techcode-io/proclet"
Documentation = "https://github.com/techcode-io/proclet#readme"
Tracker = "https://github.com/techcode-io/proclet/issues"
[dependency-groups]
dev = [
"poethepoet>=0.36.0",
"pre-commit>=4.6.0",
"pytest-asyncio>=1.0.0",
"pytest>=8.4.1",
"ruff>=0.12.4",
]
[tool.poe.tasks."env:configure"]
help = "Setup environment."
cmd = "pre-commit install"
[tool.poe.tasks.lint]
help = "Lint code project."
cmd = "ruff check src/proclet"
[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"
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.poe.tasks.release]
help = "Create a new proclet release."
script = "scripts.release:run"
[tool.poe.tasks."release:pre"]
help = "Create a PR with changes for release."
script = "scripts.release:pre"
[tool.poe.tasks."release:post"]
help = "Create a PR preparing the next iteration."
script = "scripts.release:post"
[tool.poe.tasks.ci]
sequence = [
"lint",
"test"
]
help = "Run CI automation."
[build-system]
requires = ["uv_build>=0.10.0"]
build-backend = "uv_build"