Index: cms-dev/tox.ini |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/cms-dev/tox.ini |
@@ -0,0 +1,22 @@ |
+[tox] |
+envlist = py27,py35,py36,flake8 |
+skipsdist = true |
+ |
+[flake8] |
+ignore = D1 |
tlucas
2017/11/24 10:57:46
Do we want to keep ignoring all D1 errors in new c
Vasily Kuznetsov
2017/11/28 16:53:37
This is not really a public API, but I agree with
Vasily Kuznetsov
2017/11/28 16:53:37
Done.
|
+ |
+[testenv] |
+deps = |
+ pytest |
+commands = |
+ pytest tests |
+ |
+[testenv:flake8] |
tlucas
2017/11/24 10:57:46
Something is screwy in here.
running "$ tox" yiel
Vasily Kuznetsov
2017/11/28 16:53:37
Done.
|
+basepython = python3 |
+deps = |
+ flake8 |
+ flake8-docstrings |
+ pep8-naming |
+ ../flake8-eyeo |
+commands = |
+ flake8 cms-cmp.py tests |