Skip to content

Commit

Permalink
chore: upgrade tox ini
Browse files Browse the repository at this point in the history
  • Loading branch information
Midnighter committed Mar 24, 2020
1 parent 245c8e2 commit f498c2f
Showing 1 changed file with 28 additions and 8 deletions.
36 changes: 28 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
[tox]
envlist = flake8, docs, py{27,35,36}
envlist = flake8, docs, py3{5,6,7,8}

[travis]
os =
linux: flake8, py{27,35,36}
osx: py{27,35}
linux: flake8, py3{5,6,7,8}
osx: py35
python =
2.7: py27, flake8
3.5: py35, flake8
3.6: py36
3.5: py35
3.6: py36, flake8
3.7: py37
3.8: py38

[testenv]
deps =
Expand Down Expand Up @@ -38,11 +39,30 @@ commands=
make -C {toxinidir}/docs linkcheck
make docs

################################################################################
# Testing tools configuration #
################################################################################

[pytest]
markers =
raises
testpaths =
tests
markers =
raises

[coverage:paths]
source =
src/memote
*/site-packages/memote

[coverage:run]
branch = true
parallel = true

[coverage:report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
precision = 2

[flake8]
max-line-length = 80
Expand Down

0 comments on commit f498c2f

Please sign in to comment.