Skip to content

Commit

Permalink
Merge 6210672 into 74fb12c
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jun 6, 2022
2 parents 74fb12c + 6210672 commit 62ce006
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
30 changes: 15 additions & 15 deletions tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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):
Expand All @@ -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)

0 comments on commit 62ce006

Please sign in to comment.