diff --git a/pylint-1.5 b/pylint-1.5 index 2915c2ff7..b0c80bbee 100755 --- a/pylint-1.5 +++ b/pylint-1.5 @@ -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: < diff --git a/pylint-1.6 b/pylint-1.6 index bfca465a0..79a346716 100755 --- a/pylint-1.6 +++ b/pylint-1.6 @@ -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: < diff --git a/pylint-1.7 b/pylint-1.7 index 99f46f6ef..9defc0e96 100755 --- a/pylint-1.7 +++ b/pylint-1.7 @@ -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: < diff --git a/pylint-1.8 b/pylint-1.8 index b19e5161e..fd29168e0 100755 --- a/pylint-1.8 +++ b/pylint-1.8 @@ -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: < diff --git a/pylint-1.9 b/pylint-1.9 index b65107f4e..e3f665583 100755 --- a/pylint-1.9 +++ b/pylint-1.9 @@ -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: < diff --git a/pylintrc b/pylintrc index 20f2a6a07..5690f2766 100644 --- a/pylintrc +++ b/pylintrc @@ -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,