-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
75 lines (68 loc) · 2.25 KB
/
pyproject.toml
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
[tool.poetry]
name = "pypi-playground-root"
package-mode = false
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.group.dev.dependencies]
ruff = "*"
pytest = "*"
pytest-cov = "*"
poethepoet = "*"
setuptools-scm = "*"
build = "*"
twine = "*"
mypy = "*"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.poe.tasks]
format-all = [
{cmd = "ruff format", cwd = "packages/kitsuyui-hello"},
{cmd = "ruff format", cwd = "packages/kitsuyui-animal"},
]
check-all = [
{cmd = "ruff check", cwd = "packages/kitsuyui-hello"},
{cmd = "ruff check", cwd = "packages/kitsuyui-animal"},
{cmd = "mypy --namespace-packages --explicit-package-bases src tests", cwd = "packages/kitsuyui-hello"},
{cmd = "mypy --namespace-packages --explicit-package-bases src tests", cwd = "packages/kitsuyui-animal"},
]
test-all = [
{cmd = "pytest tests", cwd = "packages/kitsuyui-hello"},
{cmd = "pytest tests", cwd = "packages/kitsuyui-animal"},
]
lock-all = [
{cmd = "poetry lock", cwd = "packages/kitsuyui-hello"},
{cmd = "poetry lock", cwd = "packages/kitsuyui-animal"},
{cmd = "poetry lock"},
]
install-all = [
{cmd = "poetry install", cwd = "packages/kitsuyui-hello"},
{cmd = "poetry install", cwd = "packages/kitsuyui-animal"},
{cmd = "poetry install"},
]
update-all = [
{cmd = "poetry update", cwd = "packages/kitsuyui-hello"},
{cmd = "poetry update", cwd = "packages/kitsuyui-animal"},
{cmd = "poetry update"},
]
coverage-all = [
{cmd = "pytest --cov=src --doctest-modules --cov-report=xml tests", cwd = "packages/kitsuyui-hello"},
{cmd = "pytest --cov=src --doctest-modules --cov-report=xml tests", cwd = "packages/kitsuyui-animal"},
]
build-all = [
{ cmd = "python -m build", cwd = "packages/kitsuyui-hello" },
{ cmd = "python -m build", cwd = "packages/kitsuyui-animal" },
]
check-publish-all = [
{ cmd = "twine check dist/*", cwd = "packages/kitsuyui-hello" },
{ cmd = "twine check dist/*", cwd = "packages/kitsuyui-animal" },
]
clean-all = [
{ cmd = "rm -rf dist src/*.egg-info", cwd = "packages/kitsuyui-hello" },
{ cmd = "rm -rf dist src/*.egg-info", cwd = "packages/kitsuyui-animal" },
]
[tool.mypy]
strict = true
ignore_missing_imports = false
[tool.ruff]
line-length = 79