-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
78 lines (71 loc) · 2.1 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "juv"
version = "0.3.0"
description = "A toolkit for reproducible Jupyter notebooks, powered by uv."
readme = "README.md"
authors = [{ name = "Trevor Manz", email = "[email protected]" }]
requires-python = ">=3.8"
license = { text = "MIT" }
dependencies = [
"click>=8.1.7",
"jupytext>=1.16.4",
"rich>=13.9.2",
"tomlkit>=0.13.2",
"whenever>=0.6.12; python_version >= '3.9'",
"uv>=0.5.18",
]
classifiers = [
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"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 :: Only",
]
[project.scripts]
juv = "juv:main"
[dependency-groups]
dev = ["inline-snapshot>=0.13.3", "pytest>=8.3.3", "ruff>=0.7.0"]
[tool.ruff]
line-length = 88
target-version = "py38"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"FIX002", # Fixable issue
"S404", # Allow imports of subprocess
"D203", # Conflict with formatter
"COM812",
"ISC001",
"D213",
]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = [
"D", # No docstrings in tests
"S101", # Use of assert
"SLF001", # Access private member
"W291", # Trailing whitespace
"INP001", # Allow implicit namespace
"E501", # Allow long lines (snapshots)
"PLC2701", # Import private member
]
[tool.rooster]
version_tag_prefix = "v"
major_labels = []
minor_labels = ["breaking"]
changelog_ignore_labels = ["internal"]
changelog_sections.breaking = "Breaking changes"
changelog_sections.enhancement = "Enhancements"
changelog_sections.bug = "Bug fixes"
changelog_sections.documentation = "Documentation"
changelog_sections.__unknown__ = "Other changes"
changelog_contributors = true