OLD | NEW |
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 putty-ignore = |
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/updateRecommendations.py : E501,N802 | |
22 sitescripts/extensions/bin/updateUpdateManifests.py : A107,A206,E501,N802,N8
06 | 21 sitescripts/extensions/bin/updateUpdateManifests.py : A107,A206,E501,N802,N8
06 |
23 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 |
24 sitescripts/extensions/web/adblockbrowserUpdates.py : A107,E501 | 23 sitescripts/extensions/web/adblockbrowserUpdates.py : A107,E501 |
25 sitescripts/extensions/web/downloads.py : E501,F401 | 24 sitescripts/extensions/web/downloads.py : E501,F401 |
26 sitescripts/formmail/web/formmail.py : A301,E501,E713,N802 | 25 sitescripts/formmail/web/formmail.py : A301,E501,E713,N802 |
27 sitescripts/hg/bin/irchook.py : A104 | 26 sitescripts/hg/bin/irchook.py : A104 |
28 sitescripts/hg/test/update_issues.py : N802 | 27 sitescripts/hg/test/update_issues.py : N802 |
29 sitescripts/management/bin/generateHgAuth.py : A107,E501,E711 | 28 sitescripts/management/bin/generateHgAuth.py : A107,E501,E711 |
30 sitescripts/management/bin/generateNotifications.py : A301,E501 | 29 sitescripts/management/bin/generateNotifications.py : A301,E501 |
31 sitescripts/management/bin/installChanges.py : A102,A107,E501,E713,N802,N803
,N806 | 30 sitescripts/management/bin/installChanges.py : A102,A107,E501,E713,N802,N803
,N806 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 py.test \ | 100 py.test \ |
102 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip
ts \ | 101 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip
ts \ |
103 sitescripts/hg/test \ | 102 sitescripts/hg/test \ |
104 sitescripts/notifications/test \ | 103 sitescripts/notifications/test \ |
105 sitescripts/stats/test \ | 104 sitescripts/stats/test \ |
106 sitescripts/formmail/test \ | 105 sitescripts/formmail/test \ |
107 sitescripts/extensions/test \ | 106 sitescripts/extensions/test \ |
108 sitescripts/subscriptions/test \ | 107 sitescripts/subscriptions/test \ |
109 tests | 108 tests |
110 flake8 sitescripts multiplexer.py multiplexer.fcgi | 109 flake8 sitescripts multiplexer.py multiplexer.fcgi |
OLD | NEW |