-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
83 lines (71 loc) · 1.69 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
83
[project]
name = "jupyter-health"
description = "Jupyter Health client library"
authors = [
{name = "Jupyter", email = "benjaminrk@gmail.com"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Framework :: Jupyter",
]
readme = "README.md"
license = {file = "LICENSE"}
dynamic = ["version"]
requires-python = ">=3.7"
dependencies = [
"pandas",
"requests",
"yarl",
]
[project.urls]
# this will eventually be in its own repo
Documentation = "https://github.com/jupyterhealth/singleuser-image#readme"
Issues = "https://github.com/jupyterhealth/singleuser-image/issues"
Source = "https://github.com/jupyterhealth/singleuser-image"
[project.optional-dependencies]
test = ["pytest"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# hatch ref: https://hatch.pypa.io
#
[tool.hatch.version]
path = "jupyter_health/__init__.py"
# ruff is our linter and formatter
[tool.ruff.format]
quote-style = "preserve"
[tool.ruff.lint]
ignore = [
# "F841", # unused variable
]
select = [
"E9", # syntax
"D1", # missing docstrings
"I", # isort
"UP", # pyupgrade
"F", # flake8
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
[tool.tbump]
# this will eventually be in its own repo
github_url = "https://github.com/jupyterhealth/singleuser-image"
[tool.tbump.version]
current = "0.0.1a1"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
(?P<pre>((a|b|rc)\d+)|)
\.?
(?P<dev>(?<=\.)dev\d*|)
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "{new_version}"
[[tool.tbump.file]]
src = "jupyter_health/__init__.py"