-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (34 loc) · 915 Bytes
/
pyproject.toml
File metadata and controls
46 lines (34 loc) · 915 Bytes
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
[project]
name = "nix-python-uv"
version = "0.1.0"
description = "An example of a Python project managed under `uv`."
readme = "README.md"
requires-python = ">=3.13"
source = { editable = "." }
# Note: If you're _only_ developing this project using Nix, it's better to not
# specify version bounds here; as they aren't respected by the Nix setup.
dependencies = [
"jupyter",
"pandas",
"pytest",
]
[project.scripts]
hello = "nix_python_uv.hello:hello"
some_script = "scripts.other:other"
[tool.hatch.build.targets.wheel]
include = ["nix_python_uv/"]
[build-system]
requires = ["hatchling", "editables"]
build-backend = "hatchling.build"
[tool.ruff]
indent-width = 2
line-length = 100
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest]
markers = [
"pure: marks tests as pure; (deselect with '-m \"not pure\"')",
]