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

Side by Side Diff: tox.ini

Issue 30002595: Issue 7196 - Ignore both flake8 W503 and W504 in tox.ini (Closed) Base URL: https://hg.adblockplus.org/sitescripts/
Patch Set: Created Feb. 8, 2019, 11:54 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 | « 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 test from all files. 7 # to instruct pytest to load test from all files.
8 python_files = *.py 8 python_files = *.py
9 9
10 [run] 10 [run]
11 # Exclude test from coverage. 11 # Exclude test from coverage.
12 omit = */test/* 12 omit = */test/*
13 13
14 [flake8] 14 [flake8]
15 ignore = D1 15 ignore = D1,W503,W504
16 per-file-ignores = 16 per-file-ignores =
17 sitescripts/content_blocker_lists/bin/generate_lists.py : A107,E501 17 sitescripts/content_blocker_lists/bin/generate_lists.py : A107,E501
18 sitescripts/crashes/web/submitCrash.py : A302,E501,E711,F401,N802,N806 18 sitescripts/crashes/web/submitCrash.py : A302,E501,E711,F401,N802,N806
19 sitescripts/crawler/bin/import_sites.py : A105,A206,E501 19 sitescripts/crawler/bin/import_sites.py : A105,A206,E501
20 sitescripts/crawler/web/crawler.py : A107,A108,A206,E501 20 sitescripts/crawler/web/crawler.py : A107,A108,A206,E501
21 sitescripts/extensions/bin/createNightlies.py : A102,A104,A107,A108,A302,D20 0,D202,D205,D208,D400,D401,D403,E501,E722,F841,N802,N806,N812,W504,N813 21 sitescripts/extensions/bin/createNightlies.py : A102,A104,A107,A108,A302,D20 0,D202,D205,D208,D400,D401,D403,E501,E722,F841,N802,N806,N812,N813
22 sitescripts/extensions/bin/updateUpdateManifests.py : A107,A206,D200,D202,D2 05,D400,D401,D403,E501,N802,N806 22 sitescripts/extensions/bin/updateUpdateManifests.py : A107,A206,D200,D202,D2 05,D400,D401,D403,E501,N802,N806
23 sitescripts/extensions/test/conftest.py : D200,D400 23 sitescripts/extensions/test/conftest.py : D200,D400
24 sitescripts/extensions/test/test_createNightlies.py : D400 24 sitescripts/extensions/test/test_createNightlies.py : D400
25 sitescripts/extensions/test/test_updateManifests.py : D401 25 sitescripts/extensions/test/test_updateManifests.py : D401
26 sitescripts/extensions/utils.py : A107,A206,A301,A302,D200,D202,D204,D205,D2 08,D400,D401,D403,E501,E711,E722,F401,N802,N803,N805,N806,W504,N815 26 sitescripts/extensions/utils.py : A107,A206,A301,A302,D200,D202,D204,D205,D2 08,D400,D401,D403,E501,E711,E722,F401,N802,N803,N805,N806,N815
27 sitescripts/extensions/web/adblockbrowserUpdates.py : A107,E501,E722 27 sitescripts/extensions/web/adblockbrowserUpdates.py : A107,E501,E722
28 sitescripts/extensions/web/downloads.py : E501,E722,F401 28 sitescripts/extensions/web/downloads.py : E501,E722,F401
29 sitescripts/formmail/web/formmail.py : E722 29 sitescripts/formmail/web/formmail.py : E722
30 sitescripts/formmail/test/test_formmail.py : D210,D400,D401 30 sitescripts/formmail/test/test_formmail.py : D210,D400,D401
31 sitescripts/hg/bin/irchook.py : A104 31 sitescripts/hg/bin/irchook.py : A104
32 sitescripts/hg/bin/update_issues.py: W504
33 sitescripts/hg/test/update_issues.py : N802 32 sitescripts/hg/test/update_issues.py : N802
34 sitescripts/management/bin/generateHgAuth.py : A107,E501,E711 33 sitescripts/management/bin/generateHgAuth.py : A107,E501,E711
35 sitescripts/management/bin/generateNotifications.py : A301,E501 34 sitescripts/management/bin/generateNotifications.py : A301,E501
36 sitescripts/management/bin/installChanges.py : A102,A107,E501,E713,N802,N803 ,N806,N816 35 sitescripts/management/bin/installChanges.py : A102,A107,E501,E713,N802,N803 ,N806,N816
37 sitescripts/management/bin/start_services.py : A107,E501 36 sitescripts/management/bin/start_services.py : A107,E501
38 sitescripts/notifications/parser.py : A101,A102,A107,E501,E713,E722 37 sitescripts/notifications/parser.py : A101,A102,A107,E501,E713,E722
39 sitescripts/notifications/test/notification.py : E501 38 sitescripts/notifications/test/notification.py : E501
40 sitescripts/notifications/test/parser.py : A107 39 sitescripts/notifications/test/parser.py : A107
41 sitescripts/notifications/web/notification.py : A101,A107,E501 40 sitescripts/notifications/web/notification.py : A101,A107,E501
42 sitescripts/reports/bin/mailDigests.py : A102,A104,A107,A201,A302,E501,E711, F401,N802,N806,N816 41 sitescripts/reports/bin/mailDigests.py : A102,A104,A107,A201,A302,E501,E711, F401,N802,N806,N816
43 sitescripts/reports/bin/parseNewReports.py : A107,A108,A112,A201,A206,A302,E 501,E711,E722,F401,N802,N803,N806,N816 42 sitescripts/reports/bin/parseNewReports.py : A107,A108,A112,A201,A206,A302,E 501,E711,E722,F401,N802,N803,N806,N816
44 sitescripts/reports/bin/processReports.py : E501,F401,N802,N806 43 sitescripts/reports/bin/processReports.py : E501,F401,N802,N806
45 sitescripts/reports/bin/removeOldReports.py : E501,N802 44 sitescripts/reports/bin/removeOldReports.py : E501,N802
46 sitescripts/reports/bin/removeOldUsers.py : E501,N802 45 sitescripts/reports/bin/removeOldUsers.py : E501,N802
47 sitescripts/reports/bin/updateDigests.py : A201,A301,A302,E501,E713,F401,N80 2,N806,N816 46 sitescripts/reports/bin/updateDigests.py : A201,A301,A302,E501,E713,F401,N80 2,N806,N816
48 sitescripts/reports/bin/updateSubscriptionList.py : A302,E501,E711,N802 47 sitescripts/reports/bin/updateSubscriptionList.py : A302,E501,E711,N802
49 sitescripts/reports/tests/test_updateReport.py : E402 48 sitescripts/reports/tests/test_updateReport.py : E402
50 sitescripts/reports/utils.py : A206,A302,E501,E711,N802,N803,N806 49 sitescripts/reports/utils.py : A206,A302,E501,E711,N802,N803,N806
51 sitescripts/reports/web/showDigest.py : A206,A301,A302,E501,F401,N802,N806 50 sitescripts/reports/web/showDigest.py : A206,A301,A302,E501,F401,N802,N806
52 sitescripts/reports/web/showUser.py : A301,A302,E501,E711,N802 51 sitescripts/reports/web/showUser.py : A301,A302,E501,E711,N802
53 sitescripts/reports/web/submitReport.py : A301,A302,E501,F401,N802,N806 52 sitescripts/reports/web/submitReport.py : A301,A302,E501,F401,N802,N806
54 sitescripts/reports/web/updateReport.py : A301,E711,E722,F401,N802,N806,W504 53 sitescripts/reports/web/updateReport.py : A301,E711,E722,F401,N802,N806
55 sitescripts/submit_email/web/submit_email.py : E501 54 sitescripts/submit_email/web/submit_email.py : E501
56 sitescripts/subscriptions/bin/generateReport.py : A104,A107,A201,A301,E501,E 713,F401,N802,N803,N806,N816 55 sitescripts/subscriptions/bin/generateReport.py : A104,A107,A201,A301,E501,E 713,F401,N802,N803,N806,N816
57 sitescripts/subscriptions/bin/processTemplate.py : E501,E711,N802,N803,N806, N816 56 sitescripts/subscriptions/bin/processTemplate.py : E501,E711,N802,N803,N806, N816
58 sitescripts/subscriptions/bin/updateMalwareDomainsList.py : A107,E501 57 sitescripts/subscriptions/bin/updateMalwareDomainsList.py : A107,E501
59 sitescripts/subscriptions/bin/updateSubscriptionDownloads.py : E501,F401 58 sitescripts/subscriptions/bin/updateSubscriptionDownloads.py : E501,F401
60 sitescripts/subscriptions/bin/updateSubscriptionDownloadsCVS.py : E501 59 sitescripts/subscriptions/bin/updateSubscriptionDownloadsCVS.py : E501
61 sitescripts/subscriptions/combineSubscriptions.py : A102,A104,A105,A107,A206 ,A301,A302,E501,E713,E722 60 sitescripts/subscriptions/combineSubscriptions.py : A102,A104,A105,A107,A206 ,A301,A302,E501,E713,E722
62 sitescripts/subscriptions/knownIssuesParser.py : A107,A201,E501,E711,E713,N8 02,N806,N816 61 sitescripts/subscriptions/knownIssuesParser.py : A107,A201,E501,E711,E713,N8 02,N806,N816
63 sitescripts/subscriptions/subscriptionParser.py : A102,A107,A206,A302,E501,E 711,E722,N802,N803,N805,N815 62 sitescripts/subscriptions/subscriptionParser.py : A102,A107,A206,A302,E501,E 711,E722,N802,N803,N805,N815
64 sitescripts/subscriptions/test/test_updateMalwareDomainsList.py : D400,D401 63 sitescripts/subscriptions/test/test_updateMalwareDomainsList.py : D400,D401
65 sitescripts/subscriptions/web/fallback.py : A107,A206,A301,E501,F401,N802,N8 06 64 sitescripts/subscriptions/web/fallback.py : A107,A206,A301,E501,F401,N802,N8 06
66 sitescripts/templateFilters.py : A107,A112,A206,E501,E711,F401,F841,N802,N80 3,N806,W504 65 sitescripts/templateFilters.py : A107,A112,A206,E501,E711,F401,F841,N802,N80 3,N806
67 sitescripts/testpages/web/sitekey_frame.py : A107 66 sitescripts/testpages/web/sitekey_frame.py : A107
68 sitescripts/urlfixer/bin/forceDomains.py : A206,D205,D400,E501,N802 67 sitescripts/urlfixer/bin/forceDomains.py : A206,D205,D400,E501,N802
69 sitescripts/urlfixer/bin/topDomains.py : A206,D205,D400,E501,E711,F401,N802, W504 68 sitescripts/urlfixer/bin/topDomains.py : A206,D205,D400,E501,E711,F401,N802
70 sitescripts/urlfixer/web/submitData.py : A206,E501,E711,F401,F841,N802,N806 69 sitescripts/urlfixer/web/submitData.py : A206,E501,E711,F401,F841,N802,N806
71 sitescripts/utils.py : A107,A301,D200,D202,D205,D208,D400,D401,E501,N801,N80 2,N806,N816 70 sitescripts/utils.py : A107,A301,D200,D202,D205,D208,D400,D401,E501,N801,N80 2,N806,N816
72 sitescripts/web.py : A107,E501,N802,W504 71 sitescripts/web.py : A107,E501,N802
73 multiplexer.py : A107,E501 72 multiplexer.py : A107,E501
74 multiplexer.fcgi : N816 73 multiplexer.fcgi : N816
75 74
76 [testenv] 75 [testenv]
77 basepython=python2 76 basepython=python2
78 deps = 77 deps =
79 cryptography 78 cryptography
80 pytest 79 pytest
81 pytest-cov 80 pytest-cov
82 mock 81 mock
(...skipping 23 matching lines...) Expand all
106 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip ts \ 105 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip ts \
107 tests \ 106 tests \
108 sitescripts/hg/test \ 107 sitescripts/hg/test \
109 sitescripts/notifications/test \ 108 sitescripts/notifications/test \
110 sitescripts/formmail/test \ 109 sitescripts/formmail/test \
111 sitescripts/extensions/test \ 110 sitescripts/extensions/test \
112 sitescripts/subscriptions/test \ 111 sitescripts/subscriptions/test \
113 sitescripts/reports/tests \ 112 sitescripts/reports/tests \
114 sitescripts/oauth2dl/test 113 sitescripts/oauth2dl/test
115 flake8 sitescripts multiplexer.py multiplexer.fcgi 114 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