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

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

Issue 2130093003: Fix pylint warnings in webkitpy/common/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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,
69 missing-docstring, 70 missing-docstring,
70 locally-disabled, 71 locally-disabled,
71 star-args, 72 star-args,
72 wildcard-import, 73 wildcard-import,
73 fixme, 74 fixme,
74 global-statement, 75 global-statement,
75 no-self-use, 76 no-self-use,
77 locally-enabled,
76 78
77 79
78 [REPORTS] 80 [REPORTS]
79 81
80 # Set the output format. Available formats are text, parseable, colorized, msvs 82 # Set the output format. Available formats are text, parseable, colorized, msvs
81 # (visual studio) and html. 83 # (visual studio) and html.
82 output-format=text 84 output-format=text
83 85
84 # Put messages in a separate file for each module / package specified on the 86 # Put messages in a separate file for each module / package specified on the
85 # command line instead of printing them on stdout. Reports (if any) will be 87 # 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
195 argument-rgx=[a-z_][a-z0-9_]{1,30}$ 197 argument-rgx=[a-z_][a-z0-9_]{1,30}$
196 198
197 # Regular expression which should only match correct variable names. 199 # Regular expression which should only match correct variable names.
198 variable-rgx=[a-z_][a-z0-9_]{1,30}$ 200 variable-rgx=[a-z_][a-z0-9_]{1,30}$
199 201
200 # Regular expression which should only match correct list comprehension or 202 # Regular expression which should only match correct list comprehension or
201 # generator expression variable names. 203 # generator expression variable names.
202 inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$ 204 inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
203 205
204 # Good variable names which should always be accepted, separated by a comma. 206 # Good variable names which should always be accepted, separated by a comma.
205 good-names=i,j,k,ex,Run,_,_log 207 good-names=i,j,k,e,ex,Run,_,_log
206 208
207 # Bad variable names which should always be refused, separated by a comma. 209 # Bad variable names which should always be refused, separated by a comma.
208 bad-names=foo,bar,baz,toto,tutu,tata 210 bad-names=foo,bar,baz,toto,tutu,tata
209 211
210 # Regular expression which should only match functions or classes name which do 212 # Regular expression which should only match functions or classes name which do
211 # not require a docstring. 213 # not require a docstring.
212 no-docstring-rgx=__.*__ 214 no-docstring-rgx=__.*__
213 215
214 216
215 [DESIGN] 217 [DESIGN]
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 # Create a graph of internal dependencies in the given file (report RP0402 must 277 # Create a graph of internal dependencies in the given file (report RP0402 must
276 # not be disabled). 278 # not be disabled).
277 int-import-graph= 279 int-import-graph=
278 280
279 281
280 [EXCEPTIONS] 282 [EXCEPTIONS]
281 283
282 # Exceptions that will emit a warning when being caught. Defaults to 284 # Exceptions that will emit a warning when being caught. Defaults to
283 # "Exception". 285 # "Exception".
284 overgeneral-exceptions=Exception 286 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