forked from Breakthrough-Energy/PreREISE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (28 loc) · 617 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
[tox]
envlist = pytest-local, format, flake8
skipsdist = true
[testenv]
passenv =
CPPFLAGS
LDFLAGS
deps =
pytest: pipenv
{format,checkformatting}: black
{format,checkformatting}: isort
flake8: flake8
flake8: pep8-naming
commands =
pytest: pipenv sync --dev
local: pytest -m 'not integration' {posargs}
integration: pytest
format: black .
format: isort .
checkformatting: black . --check --diff
checkformatting: isort --check --diff .
flake8: flake8 prereise/
[flake8]
ignore = E501,W503,E203
exclude =
.ipynb_checkpoints
[isort]
profile = black