Skip to content

Commit

Permalink
pre-commit auto updates (#26)
Browse files Browse the repository at this point in the history
* pre-commit auto updates

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.6](astral-sh/ruff-pre-commit@v0.5.0...v0.5.6)
- [github.com/psf/black: 24.4.2 → 24.8.0](psf/black@24.4.2...24.8.0)

* auto fixes from pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored and quintenroets committed Oct 6, 2024
1 parent cb3a99c commit 512ff70
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 @@ -5,12 +5,12 @@ repos:
- id: docformatter
args: [--in-place, --make-summary-multi-line, --close-quotes-on-newline, --wrap-summaries, "88"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
rev: v0.5.6
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
2 changes: 1 addition & 1 deletion src/superpathlib/extra_functionality.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def update(self, value: dict[Any, Any]) -> dict[Any, Any]:
updated_content = value
return updated_content

def find( # noqa: PLR0913
def find(
self: PathType,
condition: Callable[[PathType], bool] | None = None,
exclude: Callable[[PathType], bool] = lambda _: False,
Expand Down

0 comments on commit 512ff70

Please sign in to comment.