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

Side by Side Diff: pylintrc

Issue 4360002: Largely reduce the number of pylint warnings and fix one typo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: address comments Created 10 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « presubmit_support.py ('k') | tests/gclient_scm_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [MASTER] 1 [MASTER]
2 2
3 # Specify a configuration file. 3 # Specify a configuration file.
4 #rcfile= 4 #rcfile=
5 5
6 # Python code to execute, usually for sys.path manipulation such as 6 # Python code to execute, usually for sys.path manipulation such as
7 # pygtk.require(). 7 # pygtk.require().
8 #init-hook= 8 #init-hook=
9 9
10 # Profiled execution. 10 # Profiled execution.
(...skipping 18 matching lines...) Expand all
29 # multiple time. 29 # multiple time.
30 #enable= 30 #enable=
31 31
32 # Disable the message, report, category or checker with the given id(s). You 32 # Disable the message, report, category or checker with the given id(s). You
33 # can either give multiple identifier separated by comma (,) or put this option 33 # can either give multiple identifier separated by comma (,) or put this option
34 # multiple time. 34 # multiple time.
35 # C0103: Invalid name "" 35 # C0103: Invalid name ""
36 # C0111: Missing docstring 36 # C0111: Missing docstring
37 # C0302: Too many lines in module (N) 37 # C0302: Too many lines in module (N)
38 # I0011: Locally disabling WNNNN 38 # I0011: Locally disabling WNNNN
39 # R0801: Similar lines in N files
39 # R0901: Too many ancestors (8/7) 40 # R0901: Too many ancestors (8/7)
40 # R0902: Too many instance attributes (N/7) 41 # R0902: Too many instance attributes (N/7)
41 # R0903: Too few public methods (N/2) 42 # R0903: Too few public methods (N/2)
42 # R0911: Too many return statements (N/6) 43 # R0911: Too many return statements (N/6)
43 # R0912: Too many branches (N/12) 44 # R0912: Too many branches (N/12)
44 # R0913: Too many arguments (N/5) 45 # R0913: Too many arguments (N/5)
45 # R0914: Too many local variables (N/15) 46 # R0914: Too many local variables (N/15)
46 # R0915: Too many statements (N/50) 47 # R0915: Too many statements (N/50)
47 # W0122: Use of the exec statement 48 # W0122: Use of the exec statement
48 # W0141: Used builtin function '' 49 # W0141: Used builtin function ''
50 # W0142: Used * or ** magic
51 # W0402: Uses of a deprecated module 'string'
52 # W0511: TODO
49 # W0603: Using the global statement 53 # W0603: Using the global statement
50 # W0613: Unused argument '' 54 # W0613: Unused argument ''
51 # W6501: Specify string format arguments as logging function parameters 55 # W6501: Specify string format arguments as logging function parameters
52 disable=C0103,C0111,C0302,I0011,R0901,R0902,R0903,R0911,R0912,R0913,R0914,R0915, W0122,W0141,W0603,W0613,W6501 56 disable=C0103,C0111,C0302,I0011,R0801,R0901,R0902,R0903,R0911,R0912,R0913,R0914, R0915,W0122,W0141,W0142,W0402,W0511,W0603,W0613,W6501
53 57
54 58
55 [REPORTS] 59 [REPORTS]
56 60
57 # Set the output format. Available formats are text, parseable, colorized, msvs 61 # Set the output format. Available formats are text, parseable, colorized, msvs
58 # (visual studio) and html 62 # (visual studio) and html
59 output-format=text 63 output-format=text
60 64
61 # Include message's id in output 65 # Include message's id in output
62 include-ids=yes 66 include-ids=yes
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 # given file (report R0402 must not be disabled) 250 # given file (report R0402 must not be disabled)
247 import-graph= 251 import-graph=
248 252
249 # Create a graph of external dependencies in the given file (report R0402 must 253 # Create a graph of external dependencies in the given file (report R0402 must
250 # not be disabled) 254 # not be disabled)
251 ext-import-graph= 255 ext-import-graph=
252 256
253 # Create a graph of internal dependencies in the given file (report R0402 must 257 # Create a graph of internal dependencies in the given file (report R0402 must
254 # not be disabled) 258 # not be disabled)
255 int-import-graph= 259 int-import-graph=
OLDNEW
« no previous file with comments | « presubmit_support.py ('k') | tests/gclient_scm_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698