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

Side by Side Diff: pylintrc

Issue 4321006: Disable the remaining pylint warnings locally and enable pylint warnings in PRESUBMIT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: 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') | 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 [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 #
40 # It's a problem but not something we can fix right now.
41 # R0401: Cyclic import
42 #
39 # R0801: Similar lines in N files 43 # R0801: Similar lines in N files
40 # R0901: Too many ancestors (8/7) 44 # R0901: Too many ancestors (8/7)
41 # R0902: Too many instance attributes (N/7) 45 # R0902: Too many instance attributes (N/7)
42 # R0903: Too few public methods (N/2) 46 # R0903: Too few public methods (N/2)
43 # R0911: Too many return statements (N/6) 47 # R0911: Too many return statements (N/6)
44 # R0912: Too many branches (N/12) 48 # R0912: Too many branches (N/12)
45 # R0913: Too many arguments (N/5) 49 # R0913: Too many arguments (N/5)
46 # R0914: Too many local variables (N/15) 50 # R0914: Too many local variables (N/15)
47 # R0915: Too many statements (N/50) 51 # R0915: Too many statements (N/50)
48 # W0122: Use of the exec statement 52 # W0122: Use of the exec statement
49 # W0141: Used builtin function '' 53 # W0141: Used builtin function ''
50 # W0142: Used * or ** magic 54 # W0142: Used * or ** magic
51 # W0402: Uses of a deprecated module 'string' 55 # W0402: Uses of a deprecated module 'string'
52 # W0511: TODO 56 # W0511: TODO
53 # W0603: Using the global statement 57 # W0603: Using the global statement
54 # W0613: Unused argument '' 58 # W0613: Unused argument ''
55 # W6501: Specify string format arguments as logging function parameters 59 # W6501: Specify string format arguments as logging function parameters
56 disable=C0103,C0111,C0302,I0011,R0801,R0901,R0902,R0903,R0911,R0912,R0913,R0914, R0915,W0122,W0141,W0142,W0402,W0511,W0603,W0613,W6501 60 disable=C0103,C0111,C0302,I0011,R0401,R0801,R0901,R0902,R0903,R0911,R0912,R0913, R0914,R0915,W0122,W0141,W0142,W0402,W0511,W0603,W0613,W6501
57 61
58 62
59 [REPORTS] 63 [REPORTS]
60 64
61 # Set the output format. Available formats are text, parseable, colorized, msvs 65 # Set the output format. Available formats are text, parseable, colorized, msvs
62 # (visual studio) and html 66 # (visual studio) and html
63 output-format=text 67 output-format=text
64 68
65 # Include message's id in output 69 # Include message's id in output
66 include-ids=yes 70 include-ids=yes
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 # given file (report R0402 must not be disabled) 254 # given file (report R0402 must not be disabled)
251 import-graph= 255 import-graph=
252 256
253 # Create a graph of external dependencies in the given file (report R0402 must 257 # Create a graph of external dependencies in the given file (report R0402 must
254 # not be disabled) 258 # not be disabled)
255 ext-import-graph= 259 ext-import-graph=
256 260
257 # Create a graph of internal dependencies in the given file (report R0402 must 261 # Create a graph of internal dependencies in the given file (report R0402 must
258 # not be disabled) 262 # not be disabled)
259 int-import-graph= 263 int-import-graph=
OLDNEW
« no previous file with comments | « presubmit_support.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698