-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
139 lines (123 loc) · 2.71 KB
/
setup.cfg
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
127
128
129
130
131
132
133
134
135
136
137
138
139
[metadata]
name = uqtestfuns
version = 0.5.0
url = https://github.com/damar-wicaksono/uqtestfuns
author = Damar Wicaksono
author_email = [email protected]
description = A Python3 library of test functions from the uncertainty quantification community with a common interface for benchmarking purpose.
long_description = file: README.md
long_description_content_type = text/markdown
platform = ANY
license = MIT
license_files = LICENSE
classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Mathematics
Topic :: Software Development :: Libraries :: Python Modules
Intended Audience :: Science/Research
[options]
package_dir =
=src
packages = find:
include_package_data = True
python_requires = >=3.7
install_requires =
numpy>=1.13.3
scipy>=1.7.3
tabulate>=0.8.10
importlib-metadata>=1.0; python_version < "3.8"
typing_extensions; python_version > "3.7"
[options.packages.find]
where = src
[options.extras_require]
dev =
pytest>=4.6
pytest-cov>=2.12.0
pytest-randomly
black
flake8
flake8-bugbear
mypy
types-tabulate
types-setuptools
docs =
jupyter-book
sphinx
matplotlib>=3.7.0
sphinx-proof
all =
uqtestfuns[dev]
uqtestfuns[docs]
[tool:pytest]
testpaths = tests
addopts =
--cov
--strict-markers
xfail_strict = True
[coverage:run]
source = uqtestfuns
branch = True
[coverage:report]
show_missing = True
skip_covered = True
[coverage:paths]
source =
src/uqtestfuns
*/site-packages/uqtestfuns
[tox:tox]
isolated_build = True
envlist =
py37
py38
py39
py310
py311
[testenv]
deps =
pytest
pytest-cov
pytest-randomly
numpy>=1.13.3
scipy>=1.7.3
tabulate>=0.8.10
commands = pytest {posargs}
[testenv:typecheck]
deps =
pytest
mypy
types-tabulate
types-setuptools
commands = mypy --ignore-missing-imports {posargs:src tests}
[mypy]
python_version = 3.10
warn_unused_configs = True
show_error_context = True
pretty = True
namespace_packages = True
check_untyped_defs = True
[mypy-uqtestfuns.meta.metaspec]
ignore_errors = True
[mypy-test_uqmetaspec]
ignore_errors = True
[mypy-test_uqmetatestfun]
ignore_errors = True
[testenv:format]
skip_install = True
deps =
black
commands = black {posargs:--check --diff src tests}
[testenv:lint]
skip_install = True
deps =
flake8
flake8-bugbear
max-line-length = 79
commands = flake8 {posargs:src tests}