forked from emdgroup/foundry-dev-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (51 loc) · 1.22 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
[project]
name = "foundry-dev-tools"
version = "0.1.0"
description = "Default template for PDM package"
authors = [
{ name = "Jonas Wunderlich", email = "[email protected]" },
]
dependencies = []
requires-python = ">=3.10"
readme = "README.md"
license = { text = "Apache-2.0" }
[tool.pdm]
distribution = false
[tool.pdm.dev-dependencies]
dev = [
"-e file:///${PROJECT_ROOT}/libs/transforms",
"-e file:///${PROJECT_ROOT}/libs/foundry-dev-tools[s3]",
"pre-commit",
"ruff",
"pytest",
"pyarrow",
"pandas",
"pytest",
"pytest-mock",
"freezegun",
"pytest-asyncio",
"requests-mock",
"polars",
"pyfakefs",
"dask",
"fastparquet",
"streamlit",
]
[tool.pdm.scripts]
unit = "pytest tests/unit"
integration = "pytest tests/integration"
lint = "pre-commit run --all-files {args:--show-diff-on-failure}"
ci.composite = ["lint", "unit"]
[tool.pytest.ini_options]
addopts = "--verbose"
norecursedirs = ["dist", "build"]
testpaths = "tests"
asyncio_mode = "auto"
[tool.black]
target-version = ["py310"]
line-length = 120
skip-string-normalization = true
[tool.coverage]
report.skip_covered = true
paths.source = ["libs/transforms/src", "libs/foundry-dev-tools/src"]
report.exclude_also = ["if TYPE_CHECKING:"]