-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
54 lines (48 loc) · 1.66 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
[tool.poetry]
name = "bootstraphistogram"
version = "0.11.0"
description = "Poisson bootstrap histogram."
license = "MIT"
authors = ["David Hadley <[email protected]>"]
packages = [ { include = "bootstraphistogram", from = "src" } ]
readme = "README.md"
documentation = "https://bootstraphistogram.readthedocs.io/"
homepage = "https://github.com/davehadley/bootstraphistogram"
repository = "https://pypi.org/project/bootstraphistogram/"
include = ["bootstraphistogram/py.typed"]
[tool.poetry.dependencies]
python = "^3.6.2"
# The simplest numpy dependency spec fails to install with python 3.10 and 3.11
# numpy = "^1.19.0"
numpy = [
# Manually specifying the numpy-python compatibility seems to be necessary
# to ensure that poetry will install the latest supported numpy versions
# This should be simplified once python3.6 support is dropped
{version = ">=1.19.0,<1.20", python = "<3.7"},
{version = ">=1.19.0,<1.22.0", python = ">=3.7,<3.8"},
{version = "^1.19.0", python = ">=3.8"},
]
boost-histogram = ">=1.0.0"
matplotlib = "^3.1"
[tool.poetry.dev-dependencies]
pytest = "^6.0"
pre-commit = "^2.15.0"
tox = "^3.24.4"
memory-profiler = "^0.58.0"
pylint = "==2.13.9"
mypy = [
# Fix for https://github.com/python/mypy/issues/13627
{version = "^0.982", python = ">=3.8" }
]
[tool.black]
target_version = ['py36', 'py37', 'py38']
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = " --doctest-modules "
doctest_optionflags = " NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL NUMBER ELLIPSIS"
testpaths = ["tests", "src", "docs"]
[tool.mypy]
strict = true