Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (numpy#583)
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: 2c9f875913ee60ca25ce70243dc24d5b6415598c → cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b](pre-commit/pre-commit-hooks@2c9f875...cef0300)
- [github.com/pre-commit/mirrors-prettier: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 → f12edd9c7be1c20cfa42420fd0e6df71e42b51ea](pre-commit/mirrors-prettier@ffb6a75...f12edd9)
- [github.com/astral-sh/ruff-pre-commit: 1dc9eb131c2ea4816c708e4d85820d2cc8542683 → 75b98813cfb7e663870a28c74366a1e99d7bfe79](astral-sh/ruff-pre-commit@1dc9eb1...75b9881)

* '[pre-commit.ci 🤖] Apply code format tools to PR'

---------

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 7, 2024
1 parent fa0ccf4 commit bf210cc
Show file tree
Hide file tree
Showing 3 changed files with 5 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 @@ -3,7 +3,7 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -18,14 +18,14 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/pre-commit/mirrors-prettier
rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # frozen: v3.1.0
rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8
hooks:
- id: prettier
types_or: [yaml, toml, markdown, css, scss, javascript, json]
args: [--prose-wrap=preserve]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "1dc9eb131c2ea4816c708e4d85820d2cc8542683" # frozen: v0.5.0
rev: "75b98813cfb7e663870a28c74366a1e99d7bfe79" # frozen: v0.6.9
hooks:
- id: ruff
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]
Expand Down
2 changes: 1 addition & 1 deletion numpydoc/tests/hooks/test_validate_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from numpydoc.hooks.validate_docstrings import run_hook


@pytest.fixture()
@pytest.fixture
def example_module(request):
fullpath = (
Path(request.config.rootdir)
Expand Down
2 changes: 1 addition & 1 deletion numpydoc/tests/test_numpydoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_clean_text_signature():
assert _clean_text_signature("func($self, *args)") == "func(*args)"


@pytest.fixture()
@pytest.fixture
def f():
def _function_without_seealso_and_examples():
"""
Expand Down

0 comments on commit bf210cc

Please sign in to comment.