-
Notifications
You must be signed in to change notification settings - Fork 52
/
tox.ini
45 lines (42 loc) · 947 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
[tox]
envlist = 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 -p no:warnings --basetemp="{envtmpdir}" {posargs}
[testenv:lint]
basepython = python3
skip_install = true
conda_deps = flake8
commands = flake8 .
[flake8]
ignore = E226, E302, E41, E501, W504, F821, E203, W605, W503, F401
exclude =
__pycache__,
.git,
.eggs,
.github,
.tox,
docs/conf.py,
build,
dist,
*.pyc,
*.egg-info,
.cache,
Python_Requirements.txt,
CITATION.cff,
setup.py,
Benchmark/run_decimer_save_results.py,
DECIMER/__init__.py,
DECIMER/Repack_model.py
DECIMER/efficientnetv2/effnetv2_configs.py,
DECIMER/efficientnetv2/effnetv2_model.py,
DECIMER/efficientnetv2/hparams.py,
DECIMER/efficientnetv2/utils.py,
Tests/test_functions.py,