-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtox.ini
44 lines (40 loc) · 801 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
[tox]
envlist = py37, py38, py39, py310, lint
requires = tox-conda
[testenv]
setenv =
CONDA_DLL_SEARCH_MODIFICATION_ENABLE = 1
whitelist_externals = python
conda_deps =
pytest
conda_channels =
conda-forge
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:lint]
basepython = python3
skip_install = true
conda_deps = flake8
commands = flake8 .
[flake8]
ignore = E226, E302, E41, E501, W504, W503, W605, E772
exclude =
__pycache__,
.git,
.eggs,
.github,
.tox,
docs/conf.py,
build,
dist,
*.pyc,
*.egg-info,
.cache,
Python_requirements.txt,
CITATION.cff,
caffeine_augmentations.gif,
caffeine_no_augmentations.gif,
Untitled-1.png,
examples,
setup.py,
RanDepict/__init__.py,
Tests/test_functions.py,