-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathpyproject.toml
126 lines (110 loc) · 2.72 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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[tool.poetry]
name = "pyextremes"
version = "2.3.3"
description = "Extreme Value Analysis (EVA) in Python"
license = "MIT"
authors = ["George Bocharov <bocharovgeorgii@gmail.com>"]
readme = "README.md"
homepage = "https://georgebv.github.io/pyextremes"
repository = "https://github.com/georgebv/pyextremes"
keywords=[
"statistics",
"extreme",
"extreme value analysis",
"eva",
"coastal",
"ocean",
"marine",
"environmental",
"engineering",
]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Hydrology",
"Topic :: Scientific/Engineering :: Mathematics",
]
packages = [
{ include = "pyextremes", from = "src" }
]
include = [
"LICENSE",
"README.md",
"src/pyextremes/py.typed",
]
[tool.poetry.dependencies]
python = "^3.9"
numpy = ">=1.19.0,<3.0.0"
scipy = "^1.5.0"
pandas = ">=1.0.0,<3.0.0"
emcee = "^3.0.3"
matplotlib = "^3.3.0"
tqdm = { version = "^4.0.0", optional = true }
[tool.poetry.extras]
full = ["tqdm"]
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.2.2"
[tool.poetry.group.lint.dependencies]
black = "^23.0.0"
pylint = "^3.0.0"
flake8 = "^6.0.0"
mypy = "^1.0.0"
isort = "^5.0.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.0.0"
pytest-cov = "^4.0.0"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.5.0"
mkdocs-material = "^9.4.0"
mkdocs-material-extensions = "^1.2.0"
mkdocstrings = { version = "^0.23.0", extras = ["python"]}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# Development tool configuration
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
lines_between_types = 1
[tool.pylint.'MASTER']
fail-under = 8.0
[tool.pylint.'MESSAGES CONTROL']
disable = [
"missing-module-docstring",
"missing-class-docstring",
"too-few-public-methods",
"useless-super-delegation",
]
[tool.pylint.'FORMAT']
max-line-length = 88
[tool.pytest.ini_options]
addopts = "-v --cov=pyextremes --cov-report=term --cov-report=xml --cov-report=html"
testpaths = [
"tests",
]
[tool.coverage.run]
omit = [
"./src/pyextremes/plotting/*",
"./src/pyextremes/tuning/*",
"./src/pyextremes/tests/test_base.py",
]
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'raise AssertionError',
'raise NotImplementedError',
'if __name__ == .__main__.:',
'def __repr__',
' ...',
]
fail_under = 90
precision = 1
skip_empty = true
sort = "-Cover"