Skip to content

Commit

Permalink
chore(deps): update pre-commit hooks (#201)
Browse files Browse the repository at this point in the history
* chore(deps): update pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.1](astral-sh/ruff-pre-commit@v0.4.10...v0.5.1)
- [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](pre-commit/mirrors-mypy@v1.10.0...v1.10.1)
- [github.com/adamchainz/blacken-docs: 1.16.0 → 1.18.0](adamchainz/blacken-docs@1.16.0...1.18.0)

* Simplified logic as caught by Ruff

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Eduardo Rodrigues <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and eduardo-rodrigues authored Jul 9, 2024
1 parent acebebf commit 0ee0499
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ repos:
- id: check-yaml

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.10"
rev: "v0.5.1"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.10.1
hooks:
- id: mypy
files: src
Expand All @@ -43,7 +43,7 @@ repos:
types_or: [yaml, markdown, html, css, scss, javascript, json]

- repo: https://github.com/adamchainz/blacken-docs
rev: 1.16.0
rev: 1.18.0
hooks:
- id: blacken-docs
args: ["-E"]
Expand Down
4 changes: 1 addition & 3 deletions tests/test_missing_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ def filter_module(item: str) -> bool:
return True
if item.startswith("_"):
return False
if item in {"List"}:
return False
return True
return item not in {"List"}


@pytest.mark.parametrize(
Expand Down

0 comments on commit 0ee0499

Please sign in to comment.