From 199cf1fbcb42ccf477e08c4e01506f303f56b47b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 16 Sep 2023 16:24:55 +0000 Subject: [PATCH] chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v23.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 --- .pre-commit-config.yaml | 2 +- .../project_with_multiple_source_directories/src/foobar.py | 3 +-- .../worker/foobaz.py | 3 +-- .../src/project_with_src_directory/foo.py | 3 +-- tests/data/project_with_src_directory/src/foobar.py | 3 +-- .../src/project_with_src_directory/foo.py | 3 +-- tests/functional/types.py | 6 ++---- 7 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 45db13f0..79381815 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/tests/data/project_with_multiple_source_directories/src/foobar.py b/tests/data/project_with_multiple_source_directories/src/foobar.py index 7df15676..7d5210b4 100644 --- a/tests/data/project_with_multiple_source_directories/src/foobar.py +++ b/tests/data/project_with_multiple_source_directories/src/foobar.py @@ -1,2 +1 @@ -def a_local_method(): - ... +def a_local_method(): ... diff --git a/tests/data/project_with_multiple_source_directories/worker/foobaz.py b/tests/data/project_with_multiple_source_directories/worker/foobaz.py index 7df15676..7d5210b4 100644 --- a/tests/data/project_with_multiple_source_directories/worker/foobaz.py +++ b/tests/data/project_with_multiple_source_directories/worker/foobaz.py @@ -1,2 +1 @@ -def a_local_method(): - ... +def a_local_method(): ... diff --git a/tests/data/project_with_pyproject_different_directory/src/project_with_src_directory/foo.py b/tests/data/project_with_pyproject_different_directory/src/project_with_src_directory/foo.py index 92f88c21..384b744c 100644 --- a/tests/data/project_with_pyproject_different_directory/src/project_with_src_directory/foo.py +++ b/tests/data/project_with_pyproject_different_directory/src/project_with_src_directory/foo.py @@ -7,5 +7,4 @@ from urllib3 import contrib -def a_local_method(): - ... +def a_local_method(): ... diff --git a/tests/data/project_with_src_directory/src/foobar.py b/tests/data/project_with_src_directory/src/foobar.py index db8d6883..c9157382 100644 --- a/tests/data/project_with_src_directory/src/foobar.py +++ b/tests/data/project_with_src_directory/src/foobar.py @@ -1,5 +1,4 @@ import httpx -def another_local_method(): - ... +def another_local_method(): ... diff --git a/tests/data/project_with_src_directory/src/project_with_src_directory/foo.py b/tests/data/project_with_src_directory/src/project_with_src_directory/foo.py index 92f88c21..384b744c 100644 --- a/tests/data/project_with_src_directory/src/project_with_src_directory/foo.py +++ b/tests/data/project_with_src_directory/src/project_with_src_directory/foo.py @@ -7,5 +7,4 @@ from urllib3 import contrib -def a_local_method(): - ... +def a_local_method(): ... diff --git a/tests/functional/types.py b/tests/functional/types.py index 42aacc9c..9e219faa 100644 --- a/tests/functional/types.py +++ b/tests/functional/types.py @@ -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: ...