-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (83 loc) · 1.88 KB
/
pyproject.toml
File metadata and controls
95 lines (83 loc) · 1.88 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
[build-system]
requires = ["setuptools>=68", "setuptools_scm>=7"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "999"
[tool.setuptools.package-data]
"*" = ["*.sqlite3", "*.json"]
[project]
name = "cchdo.params"
authors = [{name = "cchdo", email = "cchdo@ucsd.edu"}]
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.12"
dynamic = ["version"]
license = "BSD-3-Clause"
dependencies = [
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
]
[project.urls]
Homepage = "https://cchdo.ucsd.edu/"
Documentation = "https://cchdo.github.io/params/"
Repository = "https://github.com/cchdo/params.git"
[project.optional-dependencies]
selftest = [
"pytest",
"jsonschema",
"sqlalchemy"
]
[dependency-groups]
dev = [
"cchdo.params[selftest]",
"click",
"pytest-cov",
"pre-commit",
"codecov",
"ruff",
"ty>=0.0.25",
]
docs = [
"Sphinx<7.3",
"furo",
"sphinx-autoapi",
]
[tool.ruff]
target-version = "py312"
extend-exclude = ["*.ipynb"]
[tool.ruff.lint]
# E402: module level import not at top of file
# E501: line too long - let black worry about that
# E731: do not assign a lambda expression, use a def
ignore = [
"E402",
"E501",
"E731",
]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I",
# Pyupgrade
"UP",
# Tidy imports
"TID",
]
[tool.ruff.lint.isort]
known-first-party = ["cchdo"]
[tool.ruff.format]
exclude = ["_*_names.py"]
[tool.uv]
default-groups = ["dev", "docs"]