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

Unified Diff: patchconv/tox.ini

Issue 29341347: Noissue - Add a script for converting Rietveld patches to Git format (Closed)
Patch Set: Created May 12, 2016, 5:50 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
« patchconv/patchconv.py ('K') | « patchconv/tests/test_rietveld_to_git.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patchconv/tox.ini
===================================================================
new file mode 100644
--- /dev/null
+++ b/patchconv/tox.ini
@@ -0,0 +1,14 @@
+[tox]
+envlist = py27, py35
+
+[testenv]
+deps =
+ pytest
+ pytest-cov
+ mock
+ flake8
+ hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8-abp
Sebastian Noack 2016/05/12 21:44:26 Assuming this code goes into the coding tools repo
Sebastian Noack 2016/05/12 21:44:27 What's about pep8-naming?
Vasily Kuznetsov 2016/05/12 23:25:16 Added.
Vasily Kuznetsov 2016/05/12 23:25:16 Seems to work. Ok, that's simpler.
+
+commands =
+ py.test --cov=patchconv --cov-report term-missing tests
+ flake8 patchconv.py
Sebastian Noack 2016/05/12 21:44:27 Please also run flake8 on tests and setup.py.
Vasily Kuznetsov 2016/05/12 23:25:16 Oops, somehow that fell through the cracks. Done.
« patchconv/patchconv.py ('K') | « patchconv/tests/test_rietveld_to_git.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld