Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#377)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.0 → v0.7.1](astral-sh/ruff-pre-commit@v0.7.0...v0.7.1)
- [github.com/gitleaks/gitleaks: v8.21.1 → v8.21.2](gitleaks/gitleaks@v8.21.1...v8.21.2)
- [github.com/pre-commit/mirrors-mypy: v1.12.1 → v1.13.0](pre-commit/mirrors-mypy@v1.12.1...v1.13.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Oct 29, 2024
1 parent 7a3bb94 commit 9b8bed2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ repos:
- id: detect-secrets

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.0
rev: v0.7.1
hooks:
- id: ruff
args: [--fix]
- id: ruff-format

- repo: https://github.com/gitleaks/gitleaks
rev: v8.21.1
rev: v8.21.2
hooks:
- id: gitleaks

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.12.1
rev: v1.13.0
hooks:
- id: mypy
additional_dependencies: [types-requests]
3 changes: 1 addition & 2 deletions ocp_utilities/infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ def clean_up(self) -> None:
)
except Exception as exception_:
LOGGER.warning(
"[Data collector] failed to collect data for"
f" {self.kind} {self.name}\nexception: {exception_}"
f"[Data collector] failed to collect data for {self.kind} {self.name}\nexception: {exception_}"
)
super().clean_up()

Expand Down

0 comments on commit 9b8bed2

Please sign in to comment.