-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.cfg
228 lines (194 loc) · 3.92 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
[bumpversion]
current_version = 0.6.4
commit = True
tag = True
[metadata]
name = wax-ml
version = attr: wax.__version__
author = WAX-ML Authors
author_email = [email protected]
license = Apache
description = A Python library for machine-learning and feedback loops on streaming data
long_description_content_type = text/markdown
long_description = file: README.md
url = https://github.com/eserie/wax-ml
keywords =
time series
machine learning
optimization
optimal control
online learning
reinforcement learning
classifiers =
Development Status :: 3 - Alpha
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3
Operating System :: OS Independent
Intended Audience :: Science/Research
Topic :: Scientific/Engineering
[options]
packages = find_namespace:
zip_safe = False # https://mypy.readthedocs.io/en/latest/installed_packages.html
include_package_data = True
install_requires =
numpy
pandas
seaborn
xarray >= 0.18.0
scikit-learn
tqdm
jaxlib
jax
dm-haiku >= 0.0.4
[options.extras_require]
optional =
optax
plotnine
pyarrow
pooch
graphviz
numba
dev =
mypy
ipykernel
ipywidgets
nbconvert
pytest
pytest-cov
pytest-xdist
pytest-benchmark
flaky
coverage
flake8
autopep8
autoflake
black
isort>=5.3.0
jupytext
papermill
line_profiler
complete =
%(optional)s
%(dev)s
docs =
%(complete)s
sphinx
sphinxcontrib-napoleon
sphinx_rtd_theme
sphinx-autodoc-typehints
sphinx-autosummary-accessors
ipython
ipykernel
jupyter-client
jupyter-sphinx
myst-nb
nbsphinx
scanpydoc
matplotlib
sklearn
[options.package_data]
wax =
py.typed
tests/data/*
static/css/*
static/html/*
[flake8]
ignore =
E203,
E501,
W503,
C901,
select = B,C,E,F
max-line-length = 100
max-complexity = 15
exclude = docs
[isort]
profile = black
skip_gitignore = true
force_to_top = true
default_section = THIRDPARTY
known_first_party = wax
[run]
omit =
setup.py
[report]
exclude_lines =
@abstractmethod
raise NotImplementedError
[pylint]
load-tests =
pylint.extensions.docparams,
pylint.extensions.docstyle
disable =
fixme,
bad-continuation
[aliases]
test = pytest
[pytest]
filterwarnings =
ignore:No GPU/TPU found, falling back to CPU.:UserWarning
ignore:outfeed_receiver is unnecessary and deprecated:DeprecationWarning
ignore:xmap is an experimental feature and probably has bugs!
ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning
ignore:Using or importing the ABCs.*:DeprecationWarning
ignore:numpy.ufunc size changed
ignore:.*experimental feature
ignore:SelectableGroups dict interface is deprecated. Use select
error
ignore::DeprecationWarning
doctest_optionflags = NUMBER NORMALIZE_WHITESPACE
addopts = --doctest-glob="*.rst"
[tool:pytest]
markers =
flaky: flaky tests
network: tests requiring a network connection
slow: slow tests
[coverage:run]
omit =
setup.py
conf.py
[coverage:report]
exclude_lines =
pragma: no cover
raise NotImplementedError
except ImportError
[mypy]
show_error_codes = True
disable_error_code = attr-defined
[mypy-optax.*]
ignore_missing_imports = True
[mypy-haiku.*]
ignore_missing_imports = True
[mypy-tensorflow.*]
ignore_missing_imports = True
[mypy-wax.modules.ewma.*]
ignore_missing_imports = True
[mypy-wax.modules.gym_feedback.*]
ignore_missing_imports = True
[mypy-sklearn.*]
ignore_missing_imports = True
[mypy-tqdm.*]
ignore_missing_imports = True
[mypy-xarray.*]
ignore_missing_imports = True
[mypy-pandas.*]
ignore_missing_imports = True
[mypy-absl.*]
ignore_missing_imports = True
[mypy-jaxlib.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-numba.*]
ignore_missing_imports = True
[mypy-opt_einsum.*]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-jax.interpreters.autospmd]
ignore_errors = True
[mypy-jax.lax.lax_parallel]
ignore_errors = True
[mypy-jax.experimental.jax2tf.tests.primitive_harness]
ignore_errors = True