-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
84 lines (66 loc) · 2.02 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
74
75
76
77
78
79
80
81
82
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "xlsxdatagrid"
dynamic = ["version"]
description = ''
readme = "README.md"
requires-python = ">=3.8"
license = "MIT"
keywords = []
authors = [
{ name = "jgunstone", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = ["xlsxwriter", "pydantic>2", "jsonref", "palettable", "pydantic_extra_types", "python-calamine", "datamodel-code-generator>=0.26.1", "stringcase", "frictionless", "frictionless[pandas]", "dirty_equals"]
[project.urls]
Documentation = "https://github.com/maxfordham/xlsxdatagrid#readme"
Issues = "https://github.com/maxfordham/xlsxdatagrid/issues"
Source = "https://github.com/maxfordham/xlsxdatagrid"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/xlsxdatagrid/__about__.py"
[tool.pytest.ini_options]
pythonpath = "src"
testpaths = ["tests"]
[tool.ruff]
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64"]
[tool.pixi.pypi-dependencies]
xlsxdatagrid = { path = ".", editable = true }
[tool.pixi.tasks]
[tool.pixi.environments]
test = ["test"]
docs = ["docs"]
# test deps and commands
[tool.pixi.feature.test.dependencies]
pytest = "*"
ruff = ">=0.6.8,<0.7"
[tool.pixi.feature.test.tasks]
test = "pytest"
check = "ruff check"
fix = "ruff check --fix --select I"
format = "ruff format"
# ----------
# docs deps and commands
[tool.pixi.feature.docs.dependencies]
jupyter = "*"
quarto = "*"
# [tool.pixi.feature.docs.pypi-dependencies]
# jupyterlab-quarto = "*"
[tool.pixi.feature.docs.tasks]
write-docs = "jupyter lab"
# ----------