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.
|