Skip to content

Commit 45be75b

Browse files
⬆️ Update dependency ruff to v0.11.0 (#589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Joostlek <[email protected]>
1 parent c14e237 commit 45be75b

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

poetry.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pylint = "3.3.5"
4141
pytest = "8.3.5"
4242
pytest-asyncio = "0.25.3"
4343
pytest-cov = "6.0.0"
44-
ruff = "0.9.6"
44+
ruff = "0.11.0"
4545
safety = "3.3.1"
4646
yamllint = "1.36.2"
4747
syrupy = "4.9.0"

src/python_opensky/opensky.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async def _request(
9797
------
9898
OpenSkyConnectionError: An error occurred while communicating with
9999
the OpenSky API.
100-
OpenSkyrror: Received an unexpected response from the OpenSky API.
100+
OpenSkyError: Received an unexpected response from the OpenSky API.
101101
102102
"""
103103
url = URL.build(
@@ -148,7 +148,7 @@ async def _request(
148148
{"Content-Type": content_type, "response": text},
149149
)
150150

151-
return cast(dict[str, Any], await response.json())
151+
return cast("dict[str, Any]", await response.json())
152152

153153
async def get_states(
154154
self,

0 commit comments

Comments
 (0)