diff options
author | kjellander <kjellander@webrtc.org> | 2017-04-12 22:43:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2017-04-13 05:43:38 +0000 |
commit | 38c65c8fb481e2ee209ebc1b52460894787f7ae3 (patch) | |
tree | ec6d2104e8b6868db2c6529ccbd27c893b17a0f5 /OWNERS | |
parent | 6c84c279cd9305294b8c1e2b57279533df372bd1 (diff) | |
download | webrtc-38c65c8fb481e2ee209ebc1b52460894787f7ae3.tar.gz |
Update pylintrc to catch more style violations.
The current PyLint configuration doesn't catch violations
to the Chromium Python Style Guide in a good way.
This change adds mostly the correct style regex for functions
and methods, with most content copied from
https://cs.chromium.org/chromium/tools/depot_tools/pylintrc
and (since the former disables invalid-name)
https://cs.chromium.org/chromium/src/third_party/chromite/pylintrc
Many settings are the defaults, but are now more explicit to make it
easier to find them for our users.
Also convert the previous one-line list of disabled lint check into
a one-per-line list instead.
Add import-error to the list of disabled lint checks.
This CL depends on https://codereview.webrtc.org/2812273002/
to be landed first in order to not produce a lot of errors.
BUG=webrtc:7303
NOTRY=True
TESTED=git cl presubmit passing when tested in
combination with https://codereview.webrtc.org/2812273002/
TBR=niklas.enbom@webrtc.org
Review-Url: https://codereview.webrtc.org/2737963003
Cr-Commit-Position: refs/heads/master@{#17685}
Diffstat (limited to 'OWNERS')
-rw-r--r-- | OWNERS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10,4 +10,5 @@ per-file *.py=kjellander@webrtc.org per-file AUTHORS=* per-file BUILD.gn=kjellander@webrtc.org per-file DEPS=* +per-file pylintrc=kjellander@webrtc.org per-file WATCHLISTS=* |