Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tox.ini

Issue 29762573: Issue 6602 - Introduce watchextensions
Patch Set: Created May 16, 2018, 9:47 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/test_ExtWatch.py ('k') | watchextensions.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tox.ini
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000000000000000000000000000000000000..bcdcf5ce8c849e1c4055b5b58daae4d4a676c3da
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,33 @@
+[tox]
+envlist = py{27,35,36},coverage
+skipsdist = true
+
+[flake8]
+ignore = D1
+
+[coverage:run]
+omit = tests/*
+
+[testenv]
+setenv =
+ PYTHONPATH = {toxinidir}:{toxinidir}/..
+deps =
+ pytest
+ pytest-cov
+ flake8
+ flake8-docstrings
+ flake8-commas
+ pep8-naming
+ py27: configparser
+ py27: mock
+ hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo
+commands =
+ pytest tests --cov watchextensions --cov-append
+ flake8
+[testenv:coverage]
+deps =
+ coverage
+commands =
+ coverage report -m
+ coverage html -d htmlcov
+ coverage erase
« no previous file with comments | « tests/test_ExtWatch.py ('k') | watchextensions.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld