Skip to content

Commit

Permalink
Bump mypy from 1.4.1 to 1.5.0 (#912)
Browse files Browse the repository at this point in the history
* Bump mypy from 1.4.1 to 1.5.0

Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.5.0.
- [Commits](python/mypy@v1.4.1...v1.5.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .mypy.ini

* Update test_encrypted_cookie_storage.py

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sam Bull <aa6bs0@sambull.org>
  • Loading branch information
dependabot[bot] and Dreamsorcerer committed Aug 11, 2023
1 parent 8420ec3 commit 5928ef4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_decorators = True
disallow_untyped_defs = True
extra_checks = True
implicit_reexport = False
no_implicit_optional = True
show_error_codes = True
show_error_code_links = True
strict_equality = True
warn_incomplete_stub = True
warn_redundant_casts = True
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ flake8-bandit==4.1.1
flake8-bugbear==23.7.10
flake8-import-order==0.18.2
flake8-requirements==1.7.8
mypy==1.4.1
mypy==1.5.0
pep257==0.7.0
pre-commit==3.3.3
sphinx==7.1.2
Expand Down
2 changes: 1 addition & 1 deletion tests/test_encrypted_cookie_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async def handler(request: web.Request) -> web.StreamResponse:
assert isinstance(session, Session)
assert not session.new
assert not session._changed
assert {"a": 1, "b": 12} == session # type: ignore[comparison-overlap]
assert {"a": 1, "b": 12} == session
return web.Response(body=b"OK")

client = await aiohttp_client(create_app(handler, fernet))
Expand Down

0 comments on commit 5928ef4

Please sign in to comment.