From ff9a426b2af117ce5e7577caae2decd2df968112 Mon Sep 17 00:00:00 2001 From: Sergii Tkachenko Date: Wed, 13 Jan 2021 14:06:05 -0500 Subject: [PATCH] Python style: suppress pylint bad-continuation for yapf compatibility --- .pylintrc | 2 ++ .pylintrc-examples | 2 ++ .pylintrc-tests | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.pylintrc b/.pylintrc index be8be6b6ef0..08ec7e836d9 100644 --- a/.pylintrc +++ b/.pylintrc @@ -95,3 +95,5 @@ disable= no-else-return, # NOTE(lidiz): Python 3 make object inheritance default, but not PY2 useless-object-inheritance, + # NOTE(sergiitk): yapf compatibility, ref #25071 + bad-continuation, diff --git a/.pylintrc-examples b/.pylintrc-examples index 9480d6ea56a..0100d84ab6f 100644 --- a/.pylintrc-examples +++ b/.pylintrc-examples @@ -98,3 +98,5 @@ disable= no-else-return, # NOTE(lidiz): Python 3 make object inheritance default, but not PY2 useless-object-inheritance, + # NOTE(sergiitk): yapf compatibility, ref #25071 + bad-continuation, diff --git a/.pylintrc-tests b/.pylintrc-tests index d9cc4d107ef..808fe7f6f7d 100644 --- a/.pylintrc-tests +++ b/.pylintrc-tests @@ -124,3 +124,5 @@ disable= no-else-return, # NOTE(lidiz): Python 3 make object inheritance default, but not PY2 useless-object-inheritance, + # NOTE(sergiitk): yapf compatibility, ref #25071 + bad-continuation,