-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (77 loc) · 1.96 KB
/
pyproject.toml
File metadata and controls
92 lines (77 loc) · 1.96 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
[build-system]
requires = ["hatchling ~=1.0", "hatch-vcs ~=0.4.0"]
build-backend = "hatchling.build"
[project]
name = "xshaper"
description = "eXperiment Shaperate — record and remember experiment runs."
authors = [{ name = "Michael Ekstrand", email = "mdekstrand@drexel.edu" }]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
requires-python = ">= 3.11"
readme = "README.md"
license = { file = "LICENSE.md" }
dynamic = ["version"]
dependencies = [
"pydantic ~=2.9",
"psutil ~=6.0",
"humanize ~=4.5",
"zstandard >=0.23",
"click ~=8.0",
"pyzmq >=24",
]
[dependency-groups]
dev = [
"build ==1.*",
"ruff >=0.2",
"pyright",
"unbeheader ~=1.3",
"sphinx-autobuild>=2024.10.3",
"pre-commit~=4.0",
]
test = ["pytest >=7"]
doc = ["sphinx >=8", "sphinxext-opengraph >= 0.5", "furo"]
[project.urls]
Homepage = "https://xshaper.lenksit.org"
GitHub = "https://github.com/lenskit/xshaper"
[project.scripts]
xshaper = "xshaper.cli:xshaper"
# configure build tools
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.sdist]
include = ["xshaper", "LICENSE.md", "README.md"]
[tool.hatch.build.targets.wheel]
packages = ["xshaper"]
[tool.hatch.version]
source = "vcs"
raw-options = { version_scheme = "release-branch-semver" }
[tool.hatch.build.hooks.vcs]
version-file = "xshaper/_version.py"
# development tools
[tool.ruff]
line-length = 100
target-version = "py311"
exclude = [".git", "__pycache__", "docs/conf.py", "build", "dist"]
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.ruff.lint.isort]
section-order = [
"future",
"standard-library",
"third-party",
"testing",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
testing = ["pytest", "hypothesis"]
[tool.mypy]
exclude = "^docs/"
[tool.pyright]
typeCheckingMode = "strict"
exclude = ["docs/*", ".pixi/*", ".venv/*"]
reportMissingImports = true
reportMissingTypeStubs = false