Skip to content

Commit

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

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
- [github.com/asottile/pyupgrade: v3.15.1 → v3.15.2](asottile/pyupgrade@v3.15.1...v3.15.2)
- https://github.com/ambv/blackhttps://github.com/psf/black
- [github.com/psf/black: 24.3.0 → 24.4.2](psf/black@24.3.0...24.4.2)
- [github.com/astral-sh/ruff-pre-commit: v0.3.3 → v0.4.5](astral-sh/ruff-pre-commit@v0.3.3...v0.4.5)
- [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](pre-commit/mirrors-mypy@v1.9.0...v1.10.0)

* [pre-commit.ci] auto fixes from pre-commit 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 May 28, 2024
1 parent 3cf9a5e commit 085ca97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ci:
# hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: end-of-file-fixer
- id: debug-statements
Expand All @@ -26,18 +26,18 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.1
rev: v3.15.2
hooks:
- id: pyupgrade
args: ["--py39-plus", "--keep-runtime-typing"]

- repo: https://github.com/ambv/black
rev: 24.3.0
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.3
rev: v0.4.5
hooks:
- id: ruff
args:
Expand All @@ -54,7 +54,7 @@ repos:
files: ^s7/.*$

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.10.0
hooks:
- id: mypy
exclude: ^tests/.*$
Expand Down
2 changes: 1 addition & 1 deletion s7/pydantic_models/soft7_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def __getattribute__(self, name: str) -> Any:
"source."
) from exc

except Exception as exc: # noqa: BLE001
except Exception as exc:
LOGGER.error(
"An error occurred during attribute resolution:\n%s: %s\n"
"Traceback:\n%s",
Expand Down

0 comments on commit 085ca97

Please sign in to comment.