Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#279)
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.9.3 → v0.9.4](astral-sh/ruff-pre-commit@v0.9.3...v0.9.4)
- [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.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 Feb 3, 2025
1 parent 324086e commit c2dbc81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ repos:
args: [--py310-plus]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.3
rev: v0.9.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

# Last modifier: Coding Standard
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black

Expand Down
2 changes: 1 addition & 1 deletion ailment/expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def replace(self, old_expr, new_expr):

@staticmethod
def _src_and_vvar_filter(
src_and_vvar: tuple[tuple[int, int | None], VirtualVariable | None]
src_and_vvar: tuple[tuple[int, int | None], VirtualVariable | None],
) -> tuple[tuple[int, int], int]:
src, vvar = src_and_vvar
if src[1] is None:
Expand Down

0 comments on commit c2dbc81

Please sign in to comment.