-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (89 loc) · 2.47 KB
/
pyproject.toml
File metadata and controls
105 lines (89 loc) · 2.47 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
# ---- Project Info and Dependencies ----
[project]
name = "simple-chartjs"
description = "Pydantic based ChartJS models for easy chart creation and customization."
readme = "README.md"
requires-python = ">=3.11,<4.0"
license = "MIT"
authors = [
{ name = "Karl Wooster", email = "karl@woostertech.com" },
]
# https://pypi.org/classifiers/
# Adjust as needed:
classifiers = [
# Adjust as needed:
"Development Status :: 4 - Beta",
# "Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
# Include this to avoid accidentally publishing to PyPI:
# "Private :: Do Not Upload",
]
# ---- Main dependencies ----
dependencies = [
"attrmagic",
"case-converter>=1.2.0",
"pydantic>=2.7,<3",
"pydantic-extra-types>=2.10,<2.11",
]
dynamic = ["version"]
# ---- Dev dependencies ----
[project.urls]
Repository = "https://github.com/WoosterTech/simple-chartjs"
# Homepage = "https://..."
# Documentation = "https://..."
[project.scripts]
# Add script entry points here:
simple-chartjs = "simple_chartjs:cli"
# ---- Build system ----
# Dynamic versioning from:
# https://github.com/ninoseki/uv-dynamic-versioning/
[dependency-groups]
dev = [
"basedpyright>=1.31.0",
"codespell>=2.4.1",
"deptry>=0.23.0",
"funlog>=0.2.1",
"pytest-sugar>=1.0.0",
"pytest>=8.3.5",
"rich>=14.0.0",
"ruff>=0.11.9",
]
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[tool.codespell]
# Add here as needed:
# ignore-words-list = "foo,bar"
# skip = "foo.py,bar.py"
[tool.hatch.version]
source = "uv-dynamic-versioning"
# Note JSON schemas don't seem to be right for tool.hatch.version.source so
# this may cause false warnings in IDEs.
# https://github.com/ninoseki/uv-dynamic-versioning/issues/21
[tool.hatch.build.targets.wheel]
# The source location for the package.
packages = ["src/simple_chartjs"]
# ---- Settings ----
[tool.pytest.ini_options]
filterwarnings = []
norecursedirs = []
python_classes = ["Test*"]
python_files = ["*.py"]
python_functions = ["test_*"]
testpaths = [
"src",
"tests",
]
[tool.uv-dynamic-versioning]
vcs = "git"
style = "pep440"
bump = true
[tool.uv.sources]
attrmagic = { git = "https://github.com/WoosterTech/AttrMagic.git" }