Skip to content

Commit

Permalink
fix: flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
pnuckowski committed Dec 11, 2024
1 parent d4eabd3 commit 77b24a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions aioresponses/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
RequestInfo, AIOHTTP_VERSION,
)


_FuncT = TypeVar("_FuncT", bound=Callable[..., Any])


Expand Down Expand Up @@ -224,7 +223,7 @@ def __repr__(self) -> str:
class aioresponses(object):
"""Mock aiohttp requests made by ClientSession."""
_matches = None # type: Dict[str, RequestMatch]
_responses = None # type: List[ClientResponse]
_responses: List[ClientResponse] = None
requests = None # type: Dict

def __init__(self, **kwargs: Any):
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pip
wheel
flake8==3.8.3
flake8==7.1.1
tox==3.19.0
coverage==5.2.1
Sphinx==1.5.6
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ universal = 1

[flake8]
exclude = docs
max-line-length = 120

[tool:pytest]
testpaths = tests

0 comments on commit 77b24a9

Please sign in to comment.