Skip to content

Commit cde4295

Browse files
committed
Lint
1 parent 8702bf9 commit cde4295

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/myproject.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ class A:
1818
__all__.append('A')
1919

2020

21-
def foo():
21+
def foo() -> Callable:
2222

23-
def bar():
23+
def bar(): # noqa: MAN002
2424
"""
2525
A locally defined function.
2626
"""
@@ -32,7 +32,7 @@ def bar():
3232
# fizbuzz = foo()
3333

3434

35-
def create_fizbuzz():
35+
def create_fizbuzz(): # noqa: MAN002
3636
# Based on the dataclass module from CPython
3737
locals = {"BUILTINS": builtins} # noqa: A001 # pylint: disable=redefined-builtin
3838
local_vars = ", ".join(locals.keys())

0 commit comments

Comments
 (0)