Skip to content

Commit cb59a38

Browse files
authored
Merge branch 'main' into dependabot/pip/scaleway-core/mypy-1.17.1
2 parents 8d99737 + 03e24d6 commit cb59a38

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

scaleway-core/poetry.lock

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

scaleway-core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ types-python-dateutil = "^2.8.19"
3333
ruff = ">=0.5.0,<0.12.8"
3434
mypy = "^1.5.1"
3535
ty = "^0.0.1a15"
36-
pyrefly = "^0.24.2"
36+
pyrefly = ">=0.24.2,<0.27.0"
3737

3838
[build-system]
3939
requires = ["poetry-core"]

scaleway-core/scaleway_core/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def _request(
185185
return response
186186

187187
def _throw_on_error(self, res: requests.Response) -> None:
188-
if res.status_code >= 400:
188+
if res.status_code is not None and res.status_code >= 400:
189189
data = res.json()
190190

191191
if data:

0 commit comments

Comments
 (0)