-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (57 loc) · 1.27 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
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
[tool.hatch.envs.default]
python = "3.12"
dependencies = [
"mypy",
"ruff",
"pytest",
"sphinx",
"sphinx-click",
"sphinx-autobuild",
"sphinx-copybutton",
"furo",
"myst-parser"
]
[tool.hatch.envs.default.scripts]
test = "pytest"
lint = [
"ruff format . ",
"ruff lint .",
"mypy spidb/"
]
lint-check = [
"ruff format --check .",
"ruff .",
"mypy spidb/"
]
docs-serve = "sphinx-autobuild docs/. docs/build"
docs-build-html = "sphinx-build -M html docs/. docs/build"
docs-build-latex = "sphinx-build -M latex docs/. docs/build"
[tool.hatch.metadata]
allow-direct-references = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "spidb"
version = "0.0.1"
description = "Stored Product Insect Database (SPIDB)"
readme = "README.md"
license = "MIT"
authors = [
{ name = "Daniel Kadyrov", email="[email protected]"},
]
requires-python = ">=3.12"
dependencies = [
"sonicdb @ git+https://github.com/dkadyrov/sonicdb",
]
[project.urls]
Documentation = "spidb.readthedocs.io"
Issues = "https://github.com/dkadyrov/spidb/issues"
Source = "https://github.com/dkadyrov/spidb"
[tool.hatch.build.targets.sdist]
include = [
"/examples",
]