Skip to content

Commit 6b9b8b2

Browse files
Bump mypy from 1.15.0 to 1.16.0 (#890)
* Bump mypy from 1.15.0 to 1.16.0 Bumps [mypy](https://github.com/python/mypy) from 1.15.0 to 1.16.0. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.15.0...v1.16.0) --- updated-dependencies: - dependency-name: mypy dependency-version: 1.16.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update abc.py --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sam Bull <[email protected]>
1 parent 598e0fb commit 6b9b8b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

aiohttp_security/abc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async def identify(self, request: web.Request) -> Optional[str]:
1616
pass
1717

1818
@abc.abstractmethod
19-
async def remember(self, request: web.Request, # type: ignore[misc]
19+
async def remember(self, request: web.Request,
2020
response: web.StreamResponse, identity: str, **kwargs: Any) -> None:
2121
"""Remember identity.
2222
@@ -37,7 +37,7 @@ async def forget(self, request: web.Request, response: web.StreamResponse) -> No
3737
class AbstractAuthorizationPolicy(metaclass=abc.ABCMeta):
3838

3939
@abc.abstractmethod
40-
async def permits(self, identity: Optional[str], # type: ignore[misc]
40+
async def permits(self, identity: Optional[str],
4141
permission: Union[str, Enum], context: Any = None) -> bool:
4242
"""Check user permissions.
4343

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ flake8-bandit==4.1.1
55
flake8-bugbear==24.12.12
66
flake8-import-order==0.18.2
77
flake8-requirements==2.2.1
8-
mypy==1.15.0
8+
mypy==1.16.0
99
types-passlib==1.7.7.20250516
1010
pep257==0.7.0
1111
sphinx==8.1.3

0 commit comments

Comments
 (0)