forked from schreiber-lab/scicat_ingest
-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
74 lines (67 loc) · 1.57 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "pyscicat"
description = "a python API to communicate with the Scicat API"
readme = { file = "README.md", content-type = "text/markdown" }
authors = [
{ name = "Scicat Project Contributors", email = "dmcreynolds@lbl.gov" },
]
maintainers = [
{ name = "Scicat Project Team", email = "dmcreynolds@lbl.gov" },
]
requires-python = ">=3.9"
dependencies = [
"pydantic",
"requests"
]
classifiers= [
"Development Status :: 2 - Pre-Alpha",
"Natural Language :: English",
"Programming Language :: Python :: 3.7"
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/scicatproject/pyscicat"
[project.optional-dependencies]
hdf5 = [
"hdf5plugin",
"h5py",
]
dev = [
"codecov",
"coverage",
"flake8",
"pytest",
"sphinx",
"twine",
"black",
"requests_mock",
"isort",
"mypy",
"types-requests",
]
docs = [
"ipython",
"matplotlib",
"mistune <2.0.0", # temporary while sphinx sorts this out
"myst-parser",
"numpydoc",
"sphinx-click",
"sphinx-copybutton",
"sphinxcontrib.openapi",
"sphinx_rtd_theme",
]
[tool.black]
include = '\.pyi?$'
extend_exclude = 'pyscicat/_version.py'
[tool.isort]
profile = "black"
skip_glob = ["__pycache__", "pyscicat/_version.py"]
[tool.hatch]
version.source = "vcs"
build.hooks.vcs.version-file = "pyscicat/_version.py"
[tool.mypy]
# TODO Add type annotations and include this file
exclude = ["pyscicat/_version.py", "pyscicat/hdf5/scientific_metadata.py"]