Skip to content

Commit

Permalink
Add tox file for WSGI integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
a-feld committed Aug 12, 2019
1 parent d003a7a commit bbd118c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integrations/opentelemetry-wsgi/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
ignore = E501
25 changes: 25 additions & 0 deletions integrations/opentelemetry-wsgi/tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[tox]
envlist =
py27
py35
py36
py37
pypy
pypy3
lint

[testenv]
commands = py.test --doctest-modules --cov=opentelemetry_wsgi --cov-branch -v {posargs}
deps =
../../opentelemetry-api/
pytest
pytest-cov

[testenv:lint]
skip_install = True
commands =
black --check src/ tests/ {posargs}
flake8 src/ tests/ {posargs}
deps =
black
flake8

0 comments on commit bbd118c

Please sign in to comment.