Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/pylintrc

Issue 2248653002: Revert of Fix pylint warnings in webkitpy/common/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Manual Revert (Patch Set 1 causes patch failure in read_checksum_from_png_unittest.py) Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/common/system/workspace_mock.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 # Copyright (c) 2012 Google Inc. All rights reserved. 1 # Copyright (c) 2012 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 # Disable the message, report, category or checker with the given id(s). You 60 # Disable the message, report, category or checker with the given id(s). You
61 # can either give multiple identifier separated by comma (,) or put this option 61 # can either give multiple identifier separated by comma (,) or put this option
62 # multiple time (only on the command line, not in the configuration file where 62 # multiple time (only on the command line, not in the configuration file where
63 # it should appear only once). 63 # it should appear only once).
64 # CHANGED: 64 # CHANGED:
65 # The "design" disable below disables all of the "too-many-*" checks, 65 # The "design" disable below disables all of the "too-many-*" checks,
66 # e.g. too-many-arguments, too-many-branches. 66 # e.g. too-many-arguments, too-many-branches.
67 disable= 67 disable=
68 design, 68 design,
69 duplicate-code,
70 missing-docstring, 69 missing-docstring,
71 locally-disabled, 70 locally-disabled,
72 star-args, 71 star-args,
73 wildcard-import, 72 wildcard-import,
74 fixme, 73 fixme,
75 global-statement, 74 global-statement,
76 no-self-use, 75 no-self-use,
77 locally-enabled,
78 76
79 77
80 [REPORTS] 78 [REPORTS]
81 79
82 # Set the output format. Available formats are text, parseable, colorized, msvs 80 # Set the output format. Available formats are text, parseable, colorized, msvs
83 # (visual studio) and html. 81 # (visual studio) and html.
84 output-format=text 82 output-format=text
85 83
86 # Put messages in a separate file for each module / package specified on the 84 # Put messages in a separate file for each module / package specified on the
87 # command line instead of printing them on stdout. Reports (if any) will be 85 # command line instead of printing them on stdout. Reports (if any) will be
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 argument-rgx=[a-z_][a-z0-9_]{1,30}$ 195 argument-rgx=[a-z_][a-z0-9_]{1,30}$
198 196
199 # Regular expression which should only match correct variable names. 197 # Regular expression which should only match correct variable names.
200 variable-rgx=[a-z_][a-z0-9_]{1,30}$ 198 variable-rgx=[a-z_][a-z0-9_]{1,30}$
201 199
202 # Regular expression which should only match correct list comprehension or 200 # Regular expression which should only match correct list comprehension or
203 # generator expression variable names. 201 # generator expression variable names.
204 inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$ 202 inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
205 203
206 # Good variable names which should always be accepted, separated by a comma. 204 # Good variable names which should always be accepted, separated by a comma.
207 good-names=i,j,k,e,ex,Run,_,_log 205 good-names=i,j,k,ex,Run,_,_log
208 206
209 # Bad variable names which should always be refused, separated by a comma. 207 # Bad variable names which should always be refused, separated by a comma.
210 bad-names=foo,bar,baz,toto,tutu,tata 208 bad-names=foo,bar,baz,toto,tutu,tata
211 209
212 # Regular expression which should only match functions or classes name which do 210 # Regular expression which should only match functions or classes name which do
213 # not require a docstring. 211 # not require a docstring.
214 no-docstring-rgx=__.*__ 212 no-docstring-rgx=__.*__
215 213
216 214
217 [DESIGN] 215 [DESIGN]
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 # Create a graph of internal dependencies in the given file (report RP0402 must 275 # Create a graph of internal dependencies in the given file (report RP0402 must
278 # not be disabled). 276 # not be disabled).
279 int-import-graph= 277 int-import-graph=
280 278
281 279
282 [EXCEPTIONS] 280 [EXCEPTIONS]
283 281
284 # Exceptions that will emit a warning when being caught. Defaults to 282 # Exceptions that will emit a warning when being caught. Defaults to
285 # "Exception". 283 # "Exception".
286 overgeneral-exceptions=Exception 284 overgeneral-exceptions=Exception
OLDNEW
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/common/system/workspace_mock.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698