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

Side by Side Diff: tox.ini

Issue 29349917: Issue 4342 - Pin flake8 2.x for compatibility with flake8-putty in sitescripts (Closed)
Patch Set: Created Aug. 17, 2016, 11:53 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [tox] 1 [tox]
2 envlist = py27 2 envlist = py27
3 skipsdist = true 3 skipsdist = true
4 4
5 [pytest] 5 [pytest]
6 # The names of the test files here don't start with 'test_' so we need 6 # The names of the test files here don't start with 'test_' so we need
7 # to instruct pytest to load tests from all files. 7 # to instruct pytest to load tests from all files.
8 python_files = *.py 8 python_files = *.py
9 9
10 [run] 10 [run]
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 multiplexer.py : A107,E501 73 multiplexer.py : A107,E501
74 74
75 [testenv] 75 [testenv]
76 basepython=python2 76 basepython=python2
77 deps = 77 deps =
78 pytest 78 pytest
79 pytest-cov 79 pytest-cov
80 mock 80 mock
81 jinja2 81 jinja2
82 pysed 82 pysed
83 flake8 83 # flake8-putty is not yet compatible with flake8 3.0
84 flake8==2.*
84 flake8-putty 85 flake8-putty
85 pep8-naming 86 pep8-naming
86 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp 87 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp
87 88
88 setenv = 89 setenv =
89 SITESCRIPTS_CONFIG = ./.sitescripts.test 90 SITESCRIPTS_CONFIG = ./.sitescripts.test
90 whitelist_externals = cp 91 whitelist_externals = cp
91 commands = 92 commands =
92 cp .sitescripts.example .sitescripts.test 93 cp .sitescripts.example .sitescripts.test
93 pysed \ 94 pysed \
94 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ 95 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \
95 '' .sitescripts.test --write 96 '' .sitescripts.test --write
96 python ensure_dependencies.py 97 python ensure_dependencies.py
97 py.test \ 98 py.test \
98 --cov-config tox.ini --cov-report term --cov sitescripts \ 99 --cov-config tox.ini --cov-report term --cov sitescripts \
99 sitescripts/hg/test \ 100 sitescripts/hg/test \
100 sitescripts/notifications/test \ 101 sitescripts/notifications/test \
101 sitescripts/stats/test 102 sitescripts/stats/test
102 flake8 sitescripts multiplexer.py multiplexer.fcgi 103 flake8 sitescripts multiplexer.py multiplexer.fcgi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld