Skip to content

Commit

Permalink
Update mypy to 1.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored and sethmlarson committed Jul 6, 2024
1 parent faea96e commit 519be6a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
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

0 comments on commit 519be6a

Please sign in to comment.