Commit 198b5629 authored by Mike Frysinger's avatar Mike Frysinger Committed by Commit Bot

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/+/1958849Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
parent bf31df7a
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment