Skip to content

Commit

Permalink
build(deps-dev): bump ruff from 0.5.2 to 0.6.2 (#359)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump ruff from 0.5.2 to 0.6.2

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.2 to 0.6.2.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.5.2...0.6.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* style(pre-commit): bump ruff to 0.6.2

* style(client): fix lint

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: F-G Fernandez <[email protected]>
  • Loading branch information
dependabot[bot] and frgfm authored Aug 23, 2024
1 parent bc9bbb2 commit dee1fb4
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: debug-statements
language_version: python3
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.5.2'
rev: 'v0.6.2'
hooks:
- id: ruff
args:
Expand Down
5 changes: 3 additions & 2 deletions client/tests/test_client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import pytest
from requests.exceptions import ConnectionError, ReadTimeout
from requests.exceptions import ConnectionError as ConnError
from requests.exceptions import ReadTimeout

from pyroclient.client import Client
from pyroclient.exceptions import HTTPRequestError
Expand All @@ -9,7 +10,7 @@
("token", "host", "timeout", "expected_error"),
[
("invalid_token", "http://localhost:5050", 10, HTTPRequestError),
(pytest.admin_token, "http://localhost:8003", 10, ConnectionError),
(pytest.admin_token, "http://localhost:8003", 10, ConnError),
(pytest.admin_token, "http://localhost:5050", 0.00001, ReadTimeout),
(pytest.admin_token, "http://localhost:5050", 10, None),
],
Expand Down
40 changes: 20 additions & 20 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 @@ -32,7 +32,7 @@ boto3 = "^1.26.0"
optional = true

[tool.poetry.group.quality.dependencies]
ruff = "==0.5.2"
ruff = "==0.6.2"
mypy = "==1.10.0"
types-requests = ">=2.0.0"
types-python-dateutil = "^2.8.0"
Expand Down

0 comments on commit dee1fb4

Please sign in to comment.