-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
46 lines (40 loc) · 1015 Bytes
/
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
[tox]
envlist = py{36,37,38}
[testenv]
use_develop = true
[testenv:py{36,37,38}]
extras = testing
deps =
black
flake8
commands_pre = reentry scan
commands = pytest {posargs}
[testenv:py{36,37,38}-docs-{clean,update}]
extras = docs
commands_pre = reentry scan
setenv =
update: RUN_APIDOC = False
changedir = docs
whitelist_externals = make
commands =
clean: make clean
make debug
[testenv:py{36,37,38}-{sync,syncrm}]
description=sync notebooks with jupytext
skip_install = true
deps = jupytext >=1.6
commands = jupytext --sync {posargs:docs/source/notebooks/*.ipynb}
; run docs/source/notebooks/*.md before docs builds
[pytest]
addopts = --ignore=setup.py
timeout = 180
filterwarnings =
ignore::DeprecationWarning:frozendict.*
ignore::DeprecationWarning:sqlalchemy_utils.*
ignore::DeprecationWarning:reentry.*
ignore::DeprecationWarning:jsonextended.*
[flake8]
max-line-length = 88
; max-complexity = 10
# These checks violate PEP8 so let's ignore them
extend-ignore = E203