Skip to content

Commit

Permalink
[pep8] Add max-doc-length = 79
Browse files Browse the repository at this point in the history
Change-Id: If0e4061d60fb8119dcc4104ddf8e3153e1fcdea5
  • Loading branch information
xqt committed Jul 6, 2024
1 parent 9eadb66 commit 8bc16b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pywikibot/data/memento.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class MementoClient(OldMementoClient):
: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."""
Expand Down
2 changes: 1 addition & 1 deletion scripts/create_isbn_edition.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down
2 changes: 1 addition & 1 deletion scripts/data_ingestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ count = True
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
Expand Down

0 comments on commit 8bc16b3

Please sign in to comment.