diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 47bf134..2ca7437 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,12 +5,12 @@ exclude: ^$ repos: - repo: https://github.com/repo-helper/pyproject-parser - rev: v0.6.1 + rev: v0.7.0 hooks: - id: reformat-pyproject - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.2.0 hooks: - id: check-added-large-files - id: check-ast @@ -59,7 +59,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/asottile/pyupgrade - rev: v2.12.0 + rev: v2.32.1 hooks: - id: pyupgrade args: diff --git a/tests/test_schema.py b/tests/test_schema.py index 4147653..89d035b 100644 --- a/tests/test_schema.py +++ b/tests/test_schema.py @@ -79,11 +79,11 @@ def test_pycharm_schema_back( @abstractmethod def run_test( # noqa: MAN001 - self, - tmp_pathplus: PathPlus, - advanced_file_regression: AdvancedFileRegressionFixture, - capsys, - ) -> None: + self, + tmp_pathplus: PathPlus, + advanced_file_regression: AdvancedFileRegressionFixture, + capsys, + ) -> None: raise NotImplementedError @@ -99,11 +99,11 @@ def test_pycharm_schema_not_project(self, no_idea: str, tmp_pathplus: PathPlus) assert not result.stdout def run_test( # noqa: MAN001 - self, - tmp_pathplus: PathPlus, - advanced_file_regression: AdvancedFileRegressionFixture, - capsys, - ) -> None: + self, + tmp_pathplus: PathPlus, + advanced_file_regression: AdvancedFileRegressionFixture, + capsys, + ) -> None: (tmp_pathplus / ".idea").maybe_make() with in_directory(tmp_pathplus): @@ -122,11 +122,11 @@ def test_pycharm_schema_not_project(self, tmp_pathplus: PathPlus, no_idea: str): register_schema(tmp_pathplus) def run_test( # noqa: MAN001 - self, - tmp_pathplus: PathPlus, - advanced_file_regression: AdvancedFileRegressionFixture, - capsys, - ) -> None: + self, + tmp_pathplus: PathPlus, + advanced_file_regression: AdvancedFileRegressionFixture, + capsys, + ) -> None: (tmp_pathplus / ".idea").maybe_make() register_schema(tmp_pathplus) self.check_output(tmp_pathplus, advanced_file_regression, capsys.readouterr().out)