57e5fd2e60
Add pylintrc file based on https://code.google.com/p/chromium/codesearch#chromium/src/tools/perf/pylintrc bit tightened up quite a bit (the one in depot_tools is far more relaxed). Remove a few excluded directories from pylint check and fixed/ suppressed all warnings generated. Add GN format check + formatted all GN files using 'gn format'. Cleanup redundant rules in tools/PRESUBMIT.py TESTED=Ran 'git cl presubmit -vv', fixed the PyLint violations. Ran it again with a modification in webrtc/build/webrtc.gni, formatted all the GN files and ran it again. R=henrika@webrtc.org, phoglund@webrtc.org Review URL: https://webrtc-codereview.appspot.com/50069004 Cr-Commit-Position: refs/heads/master@{#9274}
18 lines
704 B
INI
18 lines
704 B
INI
[MESSAGES CONTROL]
|
|
|
|
# Disable the message, report, category or checker with the given id(s).
|
|
# TODO(kjellander): Reduce this list to as small as possible.
|
|
disable=I0010,I0011,bad-continuation,broad-except,duplicate-code,eval-used,exec-used,fixme,invalid-name,missing-docstring,no-init,no-member,too-few-public-methods,too-many-ancestors,too-many-arguments,too-many-branches,too-many-function-args,too-many-instance-attributes,too-many-lines,too-many-locals,too-many-public-methods,too-many-return-statements,too-many-statements
|
|
|
|
|
|
[REPORTS]
|
|
|
|
# Don't write out full reports, just messages.
|
|
reports=no
|
|
|
|
|
|
[FORMAT]
|
|
|
|
# We use two spaces for indents, instead of the usual four spaces or tab.
|
|
indent-string=' '
|