Skip to content

Commit

Permalink
chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v2…
Browse files Browse the repository at this point in the history
…3.9.1 (#478)

* chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v23.9.1

* chore: run `re-commit run black -a`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mathieu Kniewallner <[email protected]>
  • Loading branch information
renovate[bot] and mkniewallner authored Sep 16, 2023
1 parent 525911a commit 199cf1f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ repos:
- id: ruff

- repo: https://github.com/psf/black-pre-commit-mirror
rev: "23.7.0"
rev: "23.9.1"
hooks:
- id: black
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
def a_local_method():
...
def a_local_method(): ...
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
def a_local_method():
...
def a_local_method(): ...
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
from urllib3 import contrib


def a_local_method():
...
def a_local_method(): ...
3 changes: 1 addition & 2 deletions tests/data/project_with_src_directory/src/foobar.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import httpx


def another_local_method():
...
def another_local_method(): ...
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
from urllib3 import contrib


def a_local_method():
...
def a_local_method(): ...
6 changes: 2 additions & 4 deletions tests/functional/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@


class ProjectBuilder(Protocol):
def __call__(self, root_directory: Path, project: str, setup_commands: list[str], cwd: str | None) -> Path:
...
def __call__(self, root_directory: Path, project: str, setup_commands: list[str], cwd: str | None) -> Path: ...


class ToolSpecificProjectBuilder(Protocol):
def __call__(self, root_directory: Path, project: str, cwd: str | None = None) -> Path:
...
def __call__(self, root_directory: Path, project: str, cwd: str | None = None) -> Path: ...

0 comments on commit 199cf1f

Please sign in to comment.