From 38c65c8fb481e2ee209ebc1b52460894787f7ae3 Mon Sep 17 00:00:00 2001 From: kjellander Date: Wed, 12 Apr 2017 22:43:38 -0700 Subject: 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} --- OWNERS | 1 + 1 file changed, 1 insertion(+) (limited to 'OWNERS') diff --git a/OWNERS b/OWNERS index 85fa4c8fcf..6e35adfc8a 100644 --- a/OWNERS +++ b/OWNERS @@ -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=* -- cgit v1.2.3