jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1052369?usp=email )

Change subject: [pep8] Add max-doc-length = 79
......................................................................

[pep8] Add max-doc-length = 79

Change-Id: If0e4061d60fb8119dcc4104ddf8e3153e1fcdea5
---
M pywikibot/data/memento.py
M scripts/create_isbn_edition.py
M scripts/data_ingestion.py
M tox.ini
4 files changed, 4 insertions(+), 3 deletions(-)

Approvals:
  jenkins-bot: Verified
  Xqt: Looks good to me, approved




diff --git a/pywikibot/data/memento.py b/pywikibot/data/memento.py
index 6a51017..9433e42 100644
--- a/pywikibot/data/memento.py
+++ b/pywikibot/data/memento.py
@@ -87,7 +87,7 @@
     :param int max_redirects: the maximum number of redirects allowed
         for all HTTP requests to be made.
     :return: A :class:`MementoClient` obj.
-    """  # noqa: E501
+    """  # noqa: E501, W505

     def __init__(self, *args, **kwargs):
         """Initializer."""
diff --git a/scripts/create_isbn_edition.py b/scripts/create_isbn_edition.py
index 626184e..7e2b19a 100755
--- a/scripts/create_isbn_edition.py
+++ b/scripts/create_isbn_edition.py
@@ -222,7 +222,7 @@
     * 
https://www.titelbank.nl/pls/ttb/f?p=103:4012:::NO::P4012_TTEL_ID:3496019&cs=19BB8084860E3314502A1F777F875FE61

 .. versionadded:: 7.7
-"""  # noqa: E501, W605
+"""  # noqa: E501, W505, W605
 #
 # (C) Pywikibot team, 2022-2023
 #
diff --git a/scripts/data_ingestion.py b/scripts/data_ingestion.py
index 5f3b9b8..0ee55dd 100755
--- a/scripts/data_ingestion.py
+++ b/scripts/data_ingestion.py
@@ -89,7 +89,7 @@

 .. warning:: Put it in one line, otherwise it won't work correctly.

-"""  # noqa: E501
+"""  # noqa: E501 ,W505
 #
 # (C) Pywikibot team, 2012-2022
 #
diff --git a/tox.ini b/tox.ini
index 9e4f8d8..cb1ea95 100644
--- a/tox.ini
+++ b/tox.ini
@@ -145,6 +145,7 @@
 exclude = .tox,.git,./*.egg,build,./scripts/i18n/*
 format = %(blue)s%(path)s%(reset)s: %(bold)sline %(row)d:%(reset)s%(col)d: 
%(bold)s%(red)s%(code)s%(reset)s %(text)s
 max-complexity = 49
+max-doc-length = 79

 # The following are to be fixed
 # N802: function name should be lowercase

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1052369?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: If0e4061d60fb8119dcc4104ddf8e3153e1fcdea5
Gerrit-Change-Number: 1052369
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to