Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mypy to 1.10.1 #656

Merged
merged 1 commit into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lint-requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mypy==0.910
mypy
cryptography>=35.0.0
types-pyopenssl>=20.0.4
pytest>=6.2
Expand Down
6 changes: 3 additions & 3 deletions lint-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ iniconfig==2.0.0
# via pytest
isort==5.13.2
# via -r lint-requirements.in
mypy==0.910
mypy==1.10.1
# via -r lint-requirements.in
mypy-extensions==0.4.4
mypy-extensions==1.0.0
# via
# black
# mypy
Expand All @@ -44,5 +44,5 @@ toml==0.10.2
# via mypy
types-pyopenssl==24.0.0.20240228
# via -r lint-requirements.in
typing-extensions==4.10.0
typing-extensions==4.12.2
# via mypy
2 changes: 1 addition & 1 deletion src/trustme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def random_text() -> str:


def _smells_like_pyopenssl(ctx: object) -> bool:
return getattr(ctx, "__module__", "").startswith("OpenSSL") # type: ignore[no-any-return]
return getattr(ctx, "__module__", "").startswith("OpenSSL")


def _cert_builder_common(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_trustme.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import OpenSSL.SSL
import pytest
import service_identity.pyopenssl # type: ignore[import]
import service_identity.pyopenssl # type: ignore[import-not-found]
from cryptography import x509
from cryptography.hazmat.primitives.serialization import (
Encoding,
Expand Down
Loading