-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
62 lines (53 loc) · 1.49 KB
/
tox.ini
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
[tox]
envlist = pytest
skipsdist = True
skip_missing_interpreters = True
whitelist_externals = python
[testenv]
basepython = python
[testenv:pytest]
conda_channels =
defaults
conda-forge
conda_deps =
pytest
pytest-cov
pytest-xdist
# Package dependencies
jax
numpy
numba
pandas
jax
# Optional and test dependencies
pyaml
commands =
pip install --no-deps -e .
pytest {posargs}
[flake8]
docstring-convention = google
ignore =
D ; ignore missing docstrings.
E203 ; ignore whitespace around : which is enforced by Black.
W503 ; ignore linebreak before binary operator which is enforced by Black.
PT006 ; ignore that parametrizing tests with tuple argument names is preferred.
max-line-length = 88
pytest-mark-no-parentheses = true
warn-symbols =
pytest.mark.wip = Remove 'wip' mark for tests.
per-file-ignores =
docs/source/conf.py:E501,E800,A001,D
[pytest]
addopts = --doctest-modules
filterwarnings =
ignore: the imp module is deprecated in favour of importlib
ignore: Using or importing the ABCs from 'collections' instead of from
ignore: The (parser|symbol) module is deprecated and will be removed in future
markers =
wip: Tests that are work-in-progress.
unit: Flag for unit tests which target mainly a single function.
integration: Flag for integration tests which may comprise of multiple unit tests.
end_to_end: Flag for tests that cover the whole program.
norecursedirs =
.idea
.tox