pylint: make pylint-quotes available

We load it, but disable all the warnings by default.  People can
re-enable the warnings for their modules if they want, but there
is way too much broken code in the tree currently.

Bug: 738534
Test: ran each pylint version by hand on some bad code
Change-Id: Ia5b24093f18febd452f4c1eed6e82044544161bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1958849
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
changes/49/1958849/2
Mike Frysinger 6 years ago committed by Commit Bot
parent bf31df7a63
commit 198b562986

@ -51,6 +51,13 @@
# version: "version:1.10.0"
# >
#
# # Pylint extensions.
#
# wheel: <
# name: "infra/python/wheels/pylint-quotes-py2_py3"
# version: "version:0.1.8"
# >
#
# # Pylint dependencies.
#
# wheel: <

@ -51,6 +51,13 @@
# version: "version:1.10.0"
# >
#
# # Pylint extensions.
#
# wheel: <
# name: "infra/python/wheels/pylint-quotes-py2_py3"
# version: "version:0.1.8"
# >
#
# # Pylint dependencies.
#
# wheel: <

@ -51,6 +51,13 @@
# version: "version:1.10.0"
# >
#
# # Pylint extensions.
#
# wheel: <
# name: "infra/python/wheels/pylint-quotes-py2_py3"
# version: "version:0.1.8"
# >
#
# # Pylint dependencies.
#
# wheel: <

@ -51,6 +51,13 @@
# version: "version:1.10.0"
# >
#
# # Pylint extensions.
#
# wheel: <
# name: "infra/python/wheels/pylint-quotes-py2_py3"
# version: "version:0.1.8"
# >
#
# # Pylint dependencies.
#
# wheel: <

@ -51,6 +51,13 @@
# version: "version:1.10.0"
# >
#
# # Pylint extensions.
#
# wheel: <
# name: "infra/python/wheels/pylint-quotes-py2_py3"
# version: "version:0.1.8"
# >
#
# # Pylint dependencies.
#
# wheel: <

@ -17,6 +17,13 @@ persistent=yes
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
load-plugins=
pylint_quotes
# Configure quote preferences.
string-quote = single-avoid-escape
triple-quote = double
docstring-quote = double
[MESSAGES CONTROL]
@ -103,6 +110,9 @@ disable=
eval-used,
function-redefined,
import-error,
invalid-docstring-quote,
invalid-string-quote,
invalid-triple-quote,
locally-enabled,
misplaced-comparison-constant,
misplaced-bare-raise,

Loading…
Cancel
Save