Skip to content

Commit d688e8b

Browse files
committed
Lint
1 parent 197c976 commit d688e8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

flake8_strftime/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
A Flake8 plugin which checks for use of platform specific strftime codes.
66
77
.. autosummary-widths:: 1/3 2/3
8-
""" # noqa: RST303
8+
"""
99
#
1010
# Copyright (c) 2020-2021 Dominic Davis-Foster <dominic@davis-foster.co.uk>
1111
#
@@ -55,7 +55,7 @@
5555
class Visitor(flake8_helper.Visitor):
5656
"""
5757
AST node visitor for identifying platform specific strftime codes.
58-
""" # noqa: RST303
58+
"""
5959

6060
_linux_re = re.compile(r"%-[dmHIMSj]")
6161
_win_re = re.compile(r"%#[dmHIMSj]")

tests/flake8_strftime_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from flake8_strftime import Plugin
1010

1111

12-
def results(s) -> Set[str]:
12+
def results(s: str) -> Set[str]:
1313
return {"{}:{}: {}".format(*r) for r in Plugin(ast.parse(s)).run()}
1414

1515

0 commit comments

Comments
 (0)