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

Unified Diff: tox.ini

Issue 29341344: Noissue - Run flake8 on all Python versions (Closed)
Patch Set: Fixed typo in comment Created May 27, 2016, 12:56 p.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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tox.ini
===================================================================
--- a/tox.ini
+++ b/tox.ini
@@ -1,23 +1,24 @@
[tox]
-envlist = py27, py35, pypy, qa
+envlist = py27, py35, pypy, coverage
[testenv]
-commands = py.test tests
+commands =
+ py.test tests
+ flake8 abp tests setup.py
deps =
pytest
mock
-
-# This environment is for checking code quality: test coverage, PEP8, etc.
-# We have to install our package in development mode so that pytest-cov can
-# find the .coverage file.
-[testenv:qa]
-commands =
- py.test --cov=abp tests
- flake8 abp tests setup.py
-deps =
- pytest-cov
- mock
flake8
pep8-naming
hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8-abp
+
+[testenv:coverage]
+commands =
+ py.test --cov=abp tests
+deps =
+ pytest-cov
+ mock
+
+# We have to install our package in development mode
+# so that pytest-cov can find the .coverage file.
usedevelop = true
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld