-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (51 loc) · 1.22 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
[tool.poetry]
name = "Bootstrap-sampling-distribution"
version = "1.0.0"
description = "Use bootstrap resampling to estimate the sampling distribution of a statistic."
authors = ["Elmo Moilanen"]
license = "GPL-3.0-or-later"
readme = "README.md"
keywords = ["statistics", "statistical-inference", "resampling", "sampling-distribution"]
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
numpy = "^1.25"
matplotlib = "^3.7"
scipy = "^1.11"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "^24.3"
pytest = "^8.1"
flake8 = "^7.0"
mypy = "^1.9"
coverage = "^7.4"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.2"
sphinx-rtd-theme = "^2.0"
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.venv
| docs
)/
'''
[tool.mypy]
strict = true
pretty = true
implicit_reexport = false
show_error_codes = true
disable_error_code = [
"type-arg", # Missing type parameters for generic type "ndarray"
"index", # Value of type "Union[float, ndarray]" is not indexable
"union-attr", # Item "float" of "Union[float, ndarray]" has no attribute x
]
exclude = [
"docs/",
"tests/",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"