Skip to content

Commit 03e24d6

Browse files
chore(deps-dev): bump pyrefly from 0.24.2 to 0.26.1 in /scaleway-core (#1150)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Laure-di <[email protected]> Co-authored-by: Laure Masson <[email protected]>
1 parent 9934777 commit 03e24d6

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)