-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtox.ini
27 lines (24 loc) · 809 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
[tox]
envlist = py{36,37,38,39}
# Activate isolated build environment. tox will use a virtual environment
# to build a source distribution from the source tree. For build tools and
# arguments use the pyproject.toml file as specified in PEP-517 and PEP-518.
isolated_build = true
[testenv]
deps =
# If your project uses README.rst, uncomment the following:
# readme_renderer
flake8
pytest
commands =
# This repository uses a Markdown long_description, so the -r flag to
# `setup.py check` is not needed. If your project contains a README.rst,
# use `python setup.py check -m -r -s` instead.
#python setup.py check -m -s
# flake8 .
py.test tests {posargs}
[flake8]
exclude = .tox,*.egg,build,data
#select = E,W,F
extend-ignore = C408,B006,DUO130
max-line-length = 120