-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (88 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
102 lines (88 loc) · 1.74 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
[build-system]
requires = ["hatchling", "hatch-vcs", "hatch-docstring-description"]
build-backend = "hatchling.build"
[project]
name = "stringcalc"
authors = [{name = "zmoon", email = "zmoon92@gmail.com"}]
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
classifiers = ["License :: OSI Approved :: MIT License"]
dynamic = ["version", "description"]
requires-python = ">=3.10,<4"
dependencies = [
"numpy >=1.21",
"pandas",
"pint >=0.22",
"pyabc2",
]
[project.urls]
Home = "https://github.com/zmoon/stringcalc"
Source = "https://github.com/zmoon/stringcalc"
Documentation = "https://stringcalc.readthedocs.io"
[project.optional-dependencies]
cli = [
"rich",
"typer",
]
[dependency-groups]
data = [
"requests",
]
test = [
"mypy",
"pandas-stubs",
"pytest",
"pytest-codeblocks",
]
dev = [
"ipython",
]
doc = [
"matplotlib",
"myst-nb",
"myst-parser",
"sphinx",
"sphinx-book-theme",
"sphinx-click",
"sphinx-copybutton",
]
panel = [
"hvplot",
"panel ==1.*",
"watchfiles",
]
[project.scripts]
stringcalc = "stringcalc.cli:app"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "stringcalc/_version.py"
[tool.hatch.metadata.hooks.docstring-description]
[tool.hatch.build.targets.sdist]
exclude = [
".flake8",
".gitignore",
".pre-commit-config.yaml",
".readthedocs.yaml",
".github/",
"/data/",
"panel/",
]
[tool.hatch.build.targets.wheel]
only-packages = true
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
line_length = 100
[tool.pytest.ini_options]
addopts = ["--ignore=docs/_build"]
[tool.mypy]
exclude = [
"^venv/",
"^data/",
"^panel/",
]
install_types = true
ignore_missing_imports = true