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

Side by Side Diff: tox.ini

Issue 29569566: Noissue - Replace flake8-putty with flake8-per-file-ignores, update to flake8 3 (sitescripts) (Closed)
Patch Set: Created Oct. 8, 2017, 6:02 p.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 | « sitescripts/web.py ('k') | 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]
11 # Exclude tests from coverage. 11 # Exclude tests from coverage.
12 omit = */test/* 12 omit = */test/*
13 13
14 [flake8] 14 [flake8]
15 putty-ignore = 15 per-file-ignores =
16 sitescripts/content_blocker_lists/bin/generate_lists.py : A107,E501 16 sitescripts/content_blocker_lists/bin/generate_lists.py : A107,E501
17 sitescripts/crashes/web/submitCrash.py : A302,E501,E711,F401,N802,N806 17 sitescripts/crashes/web/submitCrash.py : A302,E501,E711,F401,N802,N806
18 sitescripts/crawler/bin/import_sites.py : A105,A206,E501 18 sitescripts/crawler/bin/import_sites.py : A105,A206,E501
19 sitescripts/crawler/web/crawler.py : A107,A108,A206,E501 19 sitescripts/crawler/web/crawler.py : A107,A108,A206,E501
20 sitescripts/extensions/bin/createNightlies.py : A102,A104,A107,A108,A302,E50 1,F841,N802,N806,N812 20 sitescripts/extensions/bin/createNightlies.py : A102,A104,A107,A108,A302,E50 1,F841,N802,N806,N812
21 sitescripts/extensions/bin/updateUpdateManifests.py : A107,A206,E501,N802,N8 06 21 sitescripts/extensions/bin/updateUpdateManifests.py : A107,A206,E501,N802,N8 06
22 sitescripts/extensions/utils.py : A107,A206,A301,A302,E501,E711,F401,N802,N8 03,N805,N806 22 sitescripts/extensions/utils.py : A107,A206,A301,A302,E501,E711,F401,N802,N8 03,N805,N806
23 sitescripts/extensions/web/adblockbrowserUpdates.py : A107,E501 23 sitescripts/extensions/web/adblockbrowserUpdates.py : A107,E501
24 sitescripts/extensions/web/downloads.py : E501,F401 24 sitescripts/extensions/web/downloads.py : E501,F401
25 sitescripts/formmail/web/formmail.py : A301,E501,E713,N802 25 sitescripts/formmail/web/formmail.py : A301,E501,E713,N802
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 basepython=python2 75 basepython=python2
76 deps = 76 deps =
77 pytest 77 pytest
78 pytest-cov 78 pytest-cov
79 mock 79 mock
80 pytest-mock 80 pytest-mock
81 wsgi_intercept 81 wsgi_intercept
82 jinja2 82 jinja2
83 pycrypto 83 pycrypto
84 pysed 84 pysed
85 # flake8-putty is not yet compatible with flake8 3.0 85 flake8
86 flake8==2.* 86 flake8-per-file-ignores
87 flake8-putty
88 pep8-naming 87 pep8-naming
89 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo 88 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo
90 89
91 setenv = 90 setenv =
92 SITESCRIPTS_CONFIG = ./.sitescripts.test 91 SITESCRIPTS_CONFIG = ./.sitescripts.test
93 whitelist_externals = cp 92 whitelist_externals = cp
94 commands = 93 commands =
95 cp .sitescripts.example .sitescripts.test 94 cp .sitescripts.example .sitescripts.test
96 pysed \ 95 pysed \
97 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ 96 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \
98 '' .sitescripts.test --write 97 '' .sitescripts.test --write
99 python ensure_dependencies.py 98 python ensure_dependencies.py
100 py.test \ 99 py.test \
101 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip ts \ 100 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip ts \
102 sitescripts/hg/test \ 101 sitescripts/hg/test \
103 sitescripts/notifications/test \ 102 sitescripts/notifications/test \
104 sitescripts/stats/test \ 103 sitescripts/stats/test \
105 sitescripts/formmail/test \ 104 sitescripts/formmail/test \
106 sitescripts/extensions/test \ 105 sitescripts/extensions/test \
107 sitescripts/subscriptions/test \ 106 sitescripts/subscriptions/test \
108 tests 107 tests
109 flake8 sitescripts multiplexer.py multiplexer.fcgi 108 flake8 sitescripts multiplexer.py multiplexer.fcgi
OLDNEW
« no previous file with comments | « sitescripts/web.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld