-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
76 lines (67 loc) · 1.85 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
[project]
name = "physt"
version = "0.6.0a1"
description = "P(i/y)thon h(i/y)stograms."
readme = "README.md"
requires-python = "~=3.8"
license = {file = "LICENSE"}
authors = [
{name = "Jan Pipek", email="jan.pipek@gmail.com"}
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"numpy>=1.23",
"packaging",
"typing_extensions",
"hypothesis>=6.96.1"
]
[project.optional-dependencies]
dev = ["pytest", "mypy>=1.8", "types-setuptools"]
# doc = ["sphinx", "sphinx_rtd_theme", "sphixncontrib-apidoc", "nbsphinx"]
astropy = ["astropy"]
dask = ["dask[array]>=2023.0"]
pandas = ["pandas>=1.3"]
polars = ["polars>=0.20", "pyarrow", "physt[pandas]"]
xarray = ["xarray"]
matplotlib = ["matplotlib>=3.0"]
plotly = ["plotly"]
vega3 = ["vega3"]
folium = ["folium"]
root = ["uproot3"] # TODO: Update to uproot4
scipy = ["scipy"]
xtermcolor = ["xtermcolor"]
all = [
"physt[astropy,dev,dask,pandas,polars,xarray,matplotlib,plotly,vega3,folium,root,scipy,xtermcolor]"
]
[build-system]
requires = ["setuptools>=65.0", "build"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310']
include = '\.pyi?$'
[tool.mypy]
# TODO: revisit
ignore_missing_imports = true
plugins = ["numpy.typing.mypy_plugin"]
[tool.isort]
profile = "black"
[tool.distutils.bdist_wheel]
universal = true
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
# Be a bit tolerant
# line-length = 100
extend-exclude = ["doc"]
target-version = "py38"
[tool.ruff.per-file-ignores]
"tests/*.py" = ["E402"]