We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 197c976 commit d688e8bCopy full SHA for d688e8b
flake8_strftime/__init__.py
@@ -5,7 +5,7 @@
5
A Flake8 plugin which checks for use of platform specific strftime codes.
6
7
.. autosummary-widths:: 1/3 2/3
8
-""" # noqa: RST303
+"""
9
#
10
# Copyright (c) 2020-2021 Dominic Davis-Foster <dominic@davis-foster.co.uk>
11
@@ -55,7 +55,7 @@
55
class Visitor(flake8_helper.Visitor):
56
"""
57
AST node visitor for identifying platform specific strftime codes.
58
- """ # noqa: RST303
+ """
59
60
_linux_re = re.compile(r"%-[dmHIMSj]")
61
_win_re = re.compile(r"%#[dmHIMSj]")
tests/flake8_strftime_test.py
@@ -9,7 +9,7 @@
from flake8_strftime import Plugin
12
-def results(s) -> Set[str]:
+def results(s: str) -> Set[str]:
13
return {"{}:{}: {}".format(*r) for r in Plugin(ast.parse(s)).run()}
14
15
0 commit comments