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

Side by Side Diff: tox.ini

Issue 29345242: Noissue - Adapt quotes for compliance with our coding style in sitescripts (Closed)
Patch Set: Fixed raw string Created May 30, 2016, 8:47 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
« sitescripts/urlfixer/bin/topDomains.py ('K') | « 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 putty-ignore =
16 sitescripts/__init__.py : A110 16 sitescripts/content_blocker_lists/bin/generate_lists.py : A107,E501
17 sitescripts/content_blocker_lists/bin/generate_lists.py : A107,A110,E501
18 sitescripts/crashes/web/submitCrash.py : A302,E501,E711,F401,N802,N806 17 sitescripts/crashes/web/submitCrash.py : A302,E501,E711,F401,N802,N806
19 sitescripts/crawler/bin/import_sites.py : A105,A110,A206,E501 18 sitescripts/crawler/bin/import_sites.py : A105,A206,E501
20 sitescripts/crawler/web/crawler.py : A107,A108,A110,A206,E501 19 sitescripts/crawler/web/crawler.py : A107,A108,A206,E501
21 sitescripts/docs/bin/generate_docs.py : A110 20 sitescripts/extensions/bin/createNightlies.py : A102,A104,A107,A108,A302,E50 1,F401,F841,N802,N806,N812
22 sitescripts/extensions/bin/createNightlies.py : A102,A104,A107,A108,A109,A11 0,A302,E501,F401,F841,N802,N806,N812
23 sitescripts/extensions/bin/updateRecommendations.py : E501,N802 21 sitescripts/extensions/bin/updateRecommendations.py : E501,N802
24 sitescripts/extensions/bin/updateUpdateManifests.py : A107,A110,A206,E501,N8 02,N806 22 sitescripts/extensions/bin/updateUpdateManifests.py : A107,A206,E501,N802,N8 06
25 sitescripts/extensions/utils.py : A107,A110,A206,A301,A302,E501,E711,F401,N8 02,N803,N805,N806 23 sitescripts/extensions/utils.py : A107,A206,A301,A302,E501,E711,F401,N802,N8 03,N805,N806
26 sitescripts/extensions/web/adblockbrowserUpdates.py : A107,A110,E501 24 sitescripts/extensions/web/adblockbrowserUpdates.py : A107,E501
27 sitescripts/extensions/web/downloads.py : A110,E501,F401 25 sitescripts/extensions/web/downloads.py : E501,F401
28 sitescripts/formmail/web/formmail.py : A301,E501,E713,N802 26 sitescripts/formmail/web/formmail.py : A301,E501,E713,N802
29 sitescripts/hg/bin/irchook.py : A104 27 sitescripts/hg/bin/irchook.py : A104
30 sitescripts/hg/test/update_issues.py : N802 28 sitescripts/hg/test/update_issues.py : N802
31 sitescripts/management/bin/generateHgAuth.py : A107,E501,E711 29 sitescripts/management/bin/generateHgAuth.py : A107,E501,E711
32 sitescripts/management/bin/generateNotifications.py : A110,A301,E501 30 sitescripts/management/bin/generateNotifications.py : A301,E501
33 sitescripts/management/bin/installChanges.py : A102,A107,A111,E501,E713,N802 ,N803,N806 31 sitescripts/management/bin/installChanges.py : A102,A107,A111,E501,E713,N802 ,N803,N806
34 sitescripts/management/bin/start_services.py : A107,A110,E501 32 sitescripts/management/bin/start_services.py : A107,E501
35 sitescripts/notifications/parser.py : A101,A102,A107,A110,E501,E713 33 sitescripts/notifications/parser.py : A101,A102,A107,E501,E713
36 sitescripts/notifications/test/notification.py : A110,E501 34 sitescripts/notifications/test/notification.py : E501
37 sitescripts/notifications/test/parser.py : A107,A110 35 sitescripts/notifications/test/parser.py : A107
38 sitescripts/notifications/web/notification.py : A101,A107,A110,E501 36 sitescripts/notifications/web/notification.py : A101,A107,E501
39 sitescripts/reports/bin/mailDigests.py : A102,A104,A107,A201,A302,E501,E711, F401,N802,N806 37 sitescripts/reports/bin/mailDigests.py : A102,A104,A107,A201,A302,E501,E711, F401,N802,N806
40 sitescripts/reports/bin/parseNewReports.py : A107,A108,A112,A201,A206,A302,E 501,E711,F401,N802,N803,N806 38 sitescripts/reports/bin/parseNewReports.py : A107,A108,A112,A201,A206,A302,E 501,E711,F401,N802,N803,N806
41 sitescripts/reports/bin/processReports.py : E501,F401,N802,N806 39 sitescripts/reports/bin/processReports.py : E501,F401,N802,N806
42 sitescripts/reports/bin/removeOldReports.py : E501,N802 40 sitescripts/reports/bin/removeOldReports.py : E501,N802
43 sitescripts/reports/bin/removeOldUsers.py : E501,N802 41 sitescripts/reports/bin/removeOldUsers.py : E501,N802
44 sitescripts/reports/bin/updateDigests.py : A201,A301,A302,E501,E713,F401,N80 2,N806 42 sitescripts/reports/bin/updateDigests.py : A201,A301,A302,E501,E713,F401,N80 2,N806
45 sitescripts/reports/bin/updateSubscriptionList.py : A302,E501,E711,N802 43 sitescripts/reports/bin/updateSubscriptionList.py : A302,E501,E711,N802
46 sitescripts/reports/utils.py : A206,A302,E501,E711,N802,N803,N806 44 sitescripts/reports/utils.py : A206,A302,E501,E711,N802,N803,N806
47 sitescripts/reports/web/showDigest.py : A110,A206,A301,A302,E501,F401,N802,N 806 45 sitescripts/reports/web/showDigest.py : A206,A301,A302,E501,F401,N802,N806
48 sitescripts/reports/web/showUser.py : A301,A302,E501,E711,N802 46 sitescripts/reports/web/showUser.py : A301,A302,E501,E711,N802
49 sitescripts/reports/web/submitReport.py : A301,A302,E501,F401,N802,N806 47 sitescripts/reports/web/submitReport.py : A301,A302,E501,F401,N802,N806
50 sitescripts/reports/web/updateReport.py : A111,A301,E501,E711,F401,N802,N806 48 sitescripts/reports/web/updateReport.py : A111,A301,E501,E711,F401,N802,N806
51 sitescripts/send_installation_link/web/send_installation_link.py : A110 49 sitescripts/stats/bin/logprocessor.py : A101,A102,A104,A107,A204,A206,A301,A 302,E501,E711,F401,N806
52 sitescripts/stats/bin/logprocessor.py : A101,A102,A104,A107,A110,A204,A206,A 301,A302,E501,E711,F401,N806 50 sitescripts/stats/bin/pagegenerator.py : A102,A104,A107,A301,A302,E501,E711, F401,N806
53 sitescripts/stats/bin/pagegenerator.py : A102,A104,A107,A110,A301,A302,E501, E711,F401,N806 51 sitescripts/stats/common.py : A107,A112,E501
54 sitescripts/stats/common.py : A107,A110,A112,E501 52 sitescripts/stats/countrycodes.py : E501
55 sitescripts/stats/countrycodes.py : A110,E501 53 sitescripts/stats/test/common.py : A107,A112,A301,E501
56 sitescripts/stats/test/common.py : A107,A110,A112,A301,E501 54 sitescripts/stats/test/logprocessor.py : A101,A107,A112,E501
57 sitescripts/stats/test/logprocessor.py : A101,A107,A110,A112,E501
58 sitescripts/submit_email/web/submit_email.py : E501 55 sitescripts/submit_email/web/submit_email.py : E501
59 sitescripts/subscriptions/bin/generateReport.py : A104,A107,A201,A301,E501,E 713,F401,N802,N803,N806 56 sitescripts/subscriptions/bin/generateReport.py : A104,A107,A201,A301,E501,E 713,F401,N802,N803,N806
60 sitescripts/subscriptions/bin/processTemplate.py : E501,E711,N802,N803,N806 57 sitescripts/subscriptions/bin/processTemplate.py : E501,E711,N802,N803,N806
61 sitescripts/subscriptions/bin/updateMalwareDomainsList.py : A107,A301,E501 58 sitescripts/subscriptions/bin/updateMalwareDomainsList.py : A107,A301,E501
62 sitescripts/subscriptions/bin/updateStatusPage.py : A101,A206,E501,E711,F401 ,F841,N802 59 sitescripts/subscriptions/bin/updateStatusPage.py : A101,A206,E501,E711,F401 ,F841,N802
63 sitescripts/subscriptions/bin/updateSubscriptionDownloads.py : A110,E501,F40 1 60 sitescripts/subscriptions/bin/updateSubscriptionDownloads.py : E501,F401
64 sitescripts/subscriptions/bin/updateSubscriptionDownloadsCVS.py : E501 61 sitescripts/subscriptions/bin/updateSubscriptionDownloadsCVS.py : E501
65 sitescripts/subscriptions/combineSubscriptions.py : A102,A104,A105,A107,A110 ,A206,A301,A302,E501,E713 62 sitescripts/subscriptions/combineSubscriptions.py : A102,A104,A105,A107,A206 ,A301,A302,E501,E713
66 sitescripts/subscriptions/knownIssuesParser.py : A107,A201,E501,E711,E713,N8 02,N806 63 sitescripts/subscriptions/knownIssuesParser.py : A107,A201,E501,E711,E713,N8 02,N806
67 sitescripts/subscriptions/subscriptionParser.py : A102,A107,A110,A206,A302,E 501,E711,N802,N803,N805 64 sitescripts/subscriptions/subscriptionParser.py : A102,A107,A206,A302,E501,E 711,N802,N803,N805
68 sitescripts/subscriptions/web/fallback.py : A107,A206,A301,E501,F401,N802,N8 06 65 sitescripts/subscriptions/web/fallback.py : A107,A206,A301,E501,F401,N802,N8 06
69 sitescripts/templateFilters.py : A107,A112,A206,E501,E711,F401,F841,N802,N80 3,N806 66 sitescripts/templateFilters.py : A107,A112,A206,E501,E711,F401,F841,N802,N80 3,N806
70 sitescripts/testpages/web/sitekey_frame.py : A107,A110 67 sitescripts/testpages/web/sitekey_frame.py : A107
71 sitescripts/urlfixer/bin/forceDomains.py : A110,A203,A206,E501,N802 68 sitescripts/urlfixer/bin/forceDomains.py : A203,A206,E501,N802
72 sitescripts/urlfixer/bin/topDomains.py : A110,A203,A206,E501,E711,F401,N802 69 sitescripts/urlfixer/bin/topDomains.py : A203,A206,E501,E711,F401,N802
73 sitescripts/urlfixer/web/submitData.py : A110,A206,E501,E711,F401,F841,N802, N806 70 sitescripts/urlfixer/web/submitData.py : A206,E501,E711,F401,F841,N802,N806
74 sitescripts/utils.py : A107,A109,A110,A301,E501,E713,N801,N802,N806 71 sitescripts/utils.py : A107,A301,E501,E713,N801,N802,N806
75 sitescripts/web.py : A107,A110,E501,N802 72 sitescripts/web.py : A107,E501,N802
76 multiplexer.py : A107,A110,E501 73 multiplexer.py : A107,E501
77 74
78 [testenv] 75 [testenv]
79 basepython=python2 76 basepython=python2
80 deps = 77 deps =
81 pytest 78 pytest
82 pytest-cov 79 pytest-cov
83 mock 80 mock
84 jinja2 81 jinja2
85 pysed 82 pysed
86 flake8 83 flake8
87 flake8-putty 84 flake8-putty
88 pep8-naming 85 pep8-naming
89 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp 86 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp
90 87
91 setenv = 88 setenv =
92 SITESCRIPTS_CONFIG = ./.sitescripts.test 89 SITESCRIPTS_CONFIG = ./.sitescripts.test
93 whitelist_externals = cp 90 whitelist_externals = cp
94 commands = 91 commands =
95 cp .sitescripts.example .sitescripts.test 92 cp .sitescripts.example .sitescripts.test
96 pysed \ 93 pysed \
97 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ 94 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \
98 '' .sitescripts.test --write 95 '' .sitescripts.test --write
99 python ensure_dependencies.py 96 python ensure_dependencies.py
100 py.test \ 97 py.test \
101 --cov-config tox.ini --cov-report term --cov sitescripts \ 98 --cov-config tox.ini --cov-report term --cov sitescripts \
102 sitescripts/hg/test \ 99 sitescripts/hg/test \
103 sitescripts/notifications/test \ 100 sitescripts/notifications/test \
104 sitescripts/stats/test 101 sitescripts/stats/test
105 flake8 sitescripts multiplexer.py multiplexer.fcgi 102 flake8 sitescripts multiplexer.py multiplexer.fcgi
OLDNEW
« sitescripts/urlfixer/bin/topDomains.py ('K') | « sitescripts/web.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld