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

Unified Diff: update-copyright/tox.ini

Issue 29459580: Issue 5250 - Add copyright update script (Closed) Base URL: https://hg.adblockplus.org/codingtools
Patch Set: Remove bash script, make Python script executable Created July 17, 2017, 10:09 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 | « update-copyright/tests/test_update_copyright.py ('k') | update-copyright/update_copyright.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update-copyright/tox.ini
===================================================================
new file mode 100644
--- /dev/null
+++ b/update-copyright/tox.ini
@@ -0,0 +1,18 @@
+[tox]
+envlist = py{35,36}
+skipsdist = True
+
+[testenv]
+setenv =
+ PYTHONPATH = {toxinidir}
+
+deps =
+ pytest
+ pytest-cov
+ flake8
+ pep8-naming
+ ../flake8-eyeo
+
+commands =
+ pytest --cov=update_copyright tests
+ flake8 update_copyright.py tests
« no previous file with comments | « update-copyright/tests/test_update_copyright.py ('k') | update-copyright/update_copyright.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld