-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (91 loc) · 2.41 KB
/
pyproject.toml
File metadata and controls
105 lines (91 loc) · 2.41 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
[project]
name = "repro-zipfile"
version = "0.4.1"
description = "A tiny, zero-dependency replacement for Python's zipfile.ZipFile for creating reproducible/deterministic ZIP archives."
readme = "README.md"
requires-python = ">=3.8"
license = { file = "LICENSE" }
keywords = ["zipfile", "zip", "reproducible", "deterministic"]
authors = [{ name = "DrivenData", email = "info@drivendata.org" }]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: System :: Archiving",
"Topic :: System :: Archiving :: Compression",
"Topic :: System :: Archiving :: Packaging",
]
dependencies = []
[project.optional-dependencies]
cli = ["rpzip"]
[project.urls]
Documentation = "https://github.com/drivendataorg/repro-zipfile#readme"
Issues = "https://github.com/drivendataorg/repro-zipfile/issues"
Source = "https://github.com/drivendataorg/repro-zipfile"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
## DEV ##
[tool.uv.sources]
rpzip = { workspace = true }
[tool.uv.workspace]
members = ["cli/"]
[dependency-groups]
dev = [
"ipython",
"vspect",
{ include-group = "lint" },
{ include-group = "typecheck" },
{ include-group = "test" },
]
lint = [
"ruff>=0.1.14",
]
test = [
"coverage>=6.5",
"pytest>=6,<8",
"pytest-cases",
"pytest-cov",
]
typecheck = [
"mypy>=1.0.0",
]
## TOOLS ##
[tool.ruff]
line-length = 99
src = ["repro_zipfile", "cli", "tests", "examples"]
[tool.ruff.lint]
select = [
"E", # Pyflakes
"F", # Pycodestyle
"I", # isort
]
unfixable = ["F"]
[tool.ruff.lint.isort]
known-first-party = ["repro_zipfile", "rpzip"]
force-sort-within-sections = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=repro_zipfile --cov=rpzip --cov-report=term --cov-report=html --cov-report=xml"
testpaths = ["tests"]
[tool.coverage.run]
source = ["."]
omit = ["tests/*"]
[tool.coverage.paths]
repro_zipfile = [
"repro_zipfile/",
"**/site-packages/repro_zipfile/",
]
rpzip = [
"cli/",
"**/site-packages/",
]