From 56bab1d097a7b3556dd0e68a1e44a57d405e6e5e Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 9 Oct 2024 14:57:05 -0700 Subject: [PATCH] Enable bad-docstring-quotes pylint rule for core (#84100) * Enable bad-docstring-quotes pylint rule for core * Ignore previously bulk update in git blame --- .git-blame-ignore-revs | 2 ++ .../_util/controller/sanity/pylint/config/default.cfg | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 24f4438fbb3..72ee0f901d7 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -2,3 +2,5 @@ # Bulk PowerShell sanity fixes 6def4a3180fe03981ba64c6d8db28fed3bb39c0c 716631189cb5a3f66b3add98f39e64e98bc17bf7 +# Bulk update of strings from triple single quotes to triple double quotes +a0495fc31497798a7a833ba7406a9729e1528dd8 diff --git a/test/lib/ansible_test/_util/controller/sanity/pylint/config/default.cfg b/test/lib/ansible_test/_util/controller/sanity/pylint/config/default.cfg index f0ee7a9c4f4..9bf1de29eea 100644 --- a/test/lib/ansible_test/_util/controller/sanity/pylint/config/default.cfg +++ b/test/lib/ansible_test/_util/controller/sanity/pylint/config/default.cfg @@ -2,7 +2,11 @@ max-line-length=160 +load-plugins= + pylint.extensions.docstyle, + disable= + docstring-first-line-empty, import-outside-toplevel, # common pattern in ansible related code abstract-method, access-member-before-definition,