Skip to content

chore(deps): Bump mypy from 1.15.0 to 1.16.1 in /packages/@jsii/python-runtime #4847

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

Merged
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 packages/@jsii/python-runtime/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
black~=25.1
mypy==1.15.0
mypy==1.17.1
pip~=25.1
pytest~=8.4
pytest-mypy~=1.0
Expand Down
4 changes: 2 additions & 2 deletions packages/@jsii/python-runtime/tests/test_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,11 +884,11 @@ def private_property(self):
def test_doNotOverridePrivates_property_getter():
class TDoNotOverridePrivates(DoNotOverridePrivates):
@property
def private_property(self):
def private_property(self) -> str:
return "privateProperty-Override"

@private_property.setter
def private_property(self):
def private_property(self, _: str):
raise RuntimeError("Boom")

obj = TDoNotOverridePrivates()
Expand Down
4 changes: 1 addition & 3 deletions packages/@jsii/python-runtime/tests/test_invoke_bin.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ def test_invoke_script_with_line_flush(
buffered to the end
"""
script_path = f".env/bin/calc"
proc = subprocess.Popen(
[script_path, "arg1", "delay"], stdout=subprocess.PIPE, bufsize=1
)
proc = subprocess.Popen([script_path, "arg1", "delay"], stdout=subprocess.PIPE)

timed_lines = []
last_dt = None
Expand Down
Loading