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

build(deps): bump mypy from 1.11.1 to 1.12.0 #18705

Closed
wants to merge 4 commits into from
Closed
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
7 changes: 2 additions & 5 deletions chia/_tests/util/gen_ssl_certs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations

from pathlib import Path
from typing import Optional

import click
from pytest import MonkeyPatch
Expand All @@ -20,8 +19,8 @@
required=True,
)
def gen_ssl(suffix: str = "") -> None:
captured_crt: Optional[bytes] = None
captured_key: Optional[bytes] = None
captured_crt = b""
captured_key = b""
capture_cert_and_key = False

def patched_write_ssl_cert_and_key(cert_path: Path, cert_data: bytes, key_path: Path, key_data: bytes) -> None:
Expand All @@ -39,8 +38,6 @@ def patched_write_ssl_cert_and_key(cert_path: Path, cert_data: bytes, key_path:
patch = MonkeyPatch()
patch.setattr("chia.ssl.create_ssl.write_ssl_cert_and_key", patched_write_ssl_cert_and_key)

private_ca_crt: Optional[bytes] = None
private_ca_key: Optional[bytes] = None
capture_cert_and_key = True

print("from typing import Tuple")
Expand Down
63 changes: 34 additions & 29 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ flake8 = { version = "7.1.1", optional = true }
isort = { version = "5.13.2", optional = true }
# TODO: but... keyrings_cryptfile goes 15 minutes without locking while this does in 75 seconds
"keyrings.cryptfile" = { version = "1.3.9", optional = true }
mypy = { version = "1.11.1", optional = true }
mypy = { version = "1.12.0", optional = true }
pre-commit = [ { version = "3.5.0", python = "<3.9", optional = true }, { version = "3.7.1", python = ">=3.9", optional = true } ]
py3createtorrent = { version = "1.2.1", optional = true }
pyinstaller = { version = "6.9.0", optional = true }
Expand Down
Loading