-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtox.ini
38 lines (33 loc) · 908 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
# Exclusive file for mrds-issue-12 branch
[tox]
envlist = flake8, {win32,linux,darwin}-{py38, py39, py310, py311}
isolated_build = True
[testenv:flake8]
# If you feel that flake8 is not reading these settings, update the
# flake8 section in setup.cfg
basepython = python
deps = flake8
commands = flake8 MRdataset
exclude =
__init__.py,
docs,
*/_version.py,
MRdataset/tests/*.py,
filename = *.py
max-line-length = 100
max-complexity = 12
accept-encodings = utf-8
inline-quotes = single
multiline-quotes = double
docstring-quotes = double
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
commands =
pip install -U pip
pytest --basetemp={envtmpdir}