-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
73 lines (66 loc) · 1.47 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
[project]
name = "ptah-cli"
readme = "README.md"
version = "0.7.0"
authors = [
{ name = "Dan Miller", email = "[email protected]" }
]
requires-python = ">=3.11,<3.14"
dependencies = [
"cachelib>=0.13.0",
"dirhash>=0.5.0",
"dockerfile-parse>=2.0.1",
"inflect>=7.4.0",
"injector>=0.21.0",
"jsonpath-ng>=1.7.0",
"omegaconf>=2.3.0",
"pathspec>=0.12.1",
"psutil>=6.1.0",
"pyperclip>=1.9.0",
"typer>=0.12.3",
"watchdog>=6.0.0",
]
[project.optional-dependencies]
dev = [
"build==1.2.2.post1",
"httpx==0.28.1",
"isort==5.13.2",
"pre-commit==4.0.1",
"pyright==1.1.391",
"pytest==8.3.4",
"pytest-cov==6.0.0",
"pytest-timeout==2.3.1",
"ruff==0.8.4",
]
doc = [
"mkdocs==1.6.1",
"mkdocs-click==0.8.1",
"mkdocs-material==9.5.49",
]
[project.scripts]
ptah = "ptah.cli:app"
[tool.isort]
known_local_folder = ["ptah"]
profile = "black"
# https://microsoft.github.io/pyright/#/configuration
[tool.pyright]
exclude=[
"examples",
"tests/projects",
]
[tool.pytest.ini_options]
# https://stackoverflow.com/a/68590025
addopts = "-m 'not e2e' --cov=ptah --junitxml=coverage.xml"
# https://stackoverflow.com/a/59383021
filterwarnings = [
"error",
]
# https://stackoverflow.com/a/60813297
markers = [
"e2e: marks tests as end-to-end (these will be skipped by default)",
]
timeout = 180
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"]
[tool.setuptools.package-data]
ptah = ["**/*.py"]