Skip to content

Commit 670ca1b

Browse files
committed
flake8 E501, C405
1 parent 1dfcd06 commit 670ca1b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

flake8_rst_docstrings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def tokenize_open(filename):
174174
"Inline emphasis start-string without end-string.": 13,
175175
"Inline literal start-string without end-string.": 14,
176176
"Inline interpreted text or phrase reference start-string without end-string.": 15,
177-
"Multiple roles in interpreted text (both prefix and suffix present; only one allowed).": 16,
177+
"Multiple roles in interpreted text (both prefix and suffix present; only one allowed).": 16, # noqa: E501
178178
"Mismatch: both interpreted text role suffix and reference suffix.": 17,
179179
}
180180

@@ -973,7 +973,7 @@ class reStructuredTextChecker(object):
973973
name = "rst-docstrings"
974974
version = __version__
975975

976-
STDIN_NAMES = set(["stdin", "-", "(none)", None])
976+
STDIN_NAMES = {"stdin", "-", "(none)", None}
977977

978978
def __init__(self, tree, filename="(none)"):
979979
"""Initialise."""

0 commit comments

Comments
 (0)