-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (102 loc) · 2.54 KB
/
Copy pathpyproject.toml
File metadata and controls
116 lines (102 loc) · 2.54 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[build-system]
requires = ["setuptools>=80.9.0", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "0.404"
write_to = "src/wring/_version.py"
[project]
authors = [{name = "Jeff Newman"}]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"numpy>=2.0",
"pyarrow",
"rich",
"split-file-reader",
"typer",
"zstandard",
"typing_extensions",
"blosc2>=3.0",
"h5py>=3.16.0",
"hdf5plugin>=7.0.0",
]
description = "A tool to compress and decompress common transportation modeling file formats."
dynamic = ["version"]
keywords = []
license = "MIT"
name = "wring"
readme = "README.md"
requires-python = ">=3.10"
[project.optional-dependencies]
quality = ["ruff"]
tests = ["pytest~=7.1.2", "tables", "pandas>=2.3.3"]
docs = [
"mkdocs>=1.6",
"mkdocs-material>=9.0",
"mkdocs-git-revision-date-localized-plugin>=1.2",
"mkdocstrings[python]>=0.27",
"mkdocs-click>=0.8",
"mkdocs-typer",
]
[project.scripts]
wring = "wring:app"
[project.urls]
Documentation = "https://driftlesslabs.github.io/wring"
Issues = "https://github.com/driftlesslabs/wring/issues"
Source = "https://github.com/driftlesslabs/wring"
[dependency-groups]
dev = [
"ipykernel",
"mkdocs>=1.6",
"mkdocs-material>=9.0",
"mkdocs-git-revision-date-localized-plugin>=1.2",
"mkdocstrings[python]>=0.27",
"mkdocs-click>=0.8",
"mkdocs-typer",
"pytest~=7.1.2",
"tables",
"pandas>=2.3.3",
"pyinstrument>=5.1.2",
]
[tool.ruff.lint]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
[tool.ruff.lint.isort]
known-first-party = ["wring"]
[tool.poe]
executor.type = "uv"
[tool.poe.tasks.quality]
help = "Use ruff to check code quality and formatting."
sequence = [
{ cmd = "ruff check --fix ." },
{ cmd = "ruff format ." }
]
[tool.poe.tasks.deploy]
help = "Build and publish wheels, and docs."
sequence = [
"quality",
{ cmd = "uv build" },
# { cmd = "uv publish" }
]
[tool.poe.tasks.local-tool]
help = "Make wring available as a locally installed tool."
cmd = "uv tool install -e ."
[tool.poe.tasks.docs]
help = "Build the docs."
cmd = "mkdocs build -d site"