From 152bbe144afa82ffe8f5d02d43a62e6780f83f0c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 20:09:42 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v3.2.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v3.2.0...v6.0.0) - https://github.com/timothycrosley/isort → https://github.com/PyCQA/isort - [github.com/PyCQA/isort: 5.5.2 → 9.0.0a3](https://github.com/PyCQA/isort/compare/5.5.2...9.0.0a3) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 20.8b1 → 26.3.1](https://github.com/psf/black-pre-commit-mirror/compare/20.8b1...26.3.1) - [github.com/pre-commit/mirrors-mypy: v0.720 → v1.20.2](https://github.com/pre-commit/mirrors-mypy/compare/v0.720...v1.20.2) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 49be9ad..d8c277d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,22 +1,22 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + rev: v6.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - id: requirements-txt-fixer - - repo: https://github.com/timothycrosley/isort - rev: 5.5.2 + - repo: https://github.com/PyCQA/isort + rev: 9.0.0a3 hooks: - id: isort args: ["--profile", "black"] - - repo: https://github.com/psf/black - rev: 20.8b1 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.3.1 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v0.720' + rev: 'v1.20.2' hooks: - id: mypy args: [--ignore-missing-imports, --disallow-untyped-defs] From d7ddddc8e1b075ebeed9e35727326550b1a7c797 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 20:11:43 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- dgtest/cli/cli.py | 4 ++-- dgtest/core/parse.py | 8 ++++---- tests/integration/test_great_expectations.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dgtest/cli/cli.py b/dgtest/cli/cli.py index 577e5e4..9ee6742 100644 --- a/dgtest/cli/cli.py +++ b/dgtest/cli/cli.py @@ -153,7 +153,7 @@ def list_command( filter_: Optional[str], branch: Optional[str], ) -> None: - """ See 'list_dgtest_results' for more detail """ + """See 'list_dgtest_results' for more detail""" list_dgtest_results(source, tests, depth, list(ignore_paths), filter_, branch) @@ -177,7 +177,7 @@ def run_command( branch: Optional[str], pytest_opts: Tuple[str], ) -> None: - """ See 'run_dgtest_results' for more detail """ + """See 'run_dgtest_results' for more detail""" code = run_dgtest_results( source, tests, depth, list(ignore_paths), filter_, branch, list(pytest_opts) ) diff --git a/dgtest/core/parse.py b/dgtest/core/parse.py index 8fd03f1..00d5c9e 100644 --- a/dgtest/core/parse.py +++ b/dgtest/core/parse.py @@ -69,7 +69,7 @@ def parse_definition_nodes_from_codebase( def parse_definition_nodes_from_file(file: str) -> Dict[str, Set[str]]: - """ See `parse_definition_nodes_from_codebase` """ + """See `parse_definition_nodes_from_codebase`""" with open(file) as f: root = ast.parse(f.read(), file) @@ -116,7 +116,7 @@ def parse_import_nodes_from_file( source: str, definition_map: Dict[str, Set[str]], ) -> Set[str]: - """ See `parse_import_nodes_from_codebase` """ + """See `parse_import_nodes_from_codebase`""" imports = _gather_import_nodes_from_file(file) paths = set() for import_ in imports: @@ -204,7 +204,7 @@ def parse_pytest_fixtures_from_codebase( def parse_pytest_fixtures_from_file( file: str, definition_map: Dict[str, Set[str]] ) -> Dict[str, Set[str]]: - """ See `parse_pytest_fixtures_from_codebase` """ + """See `parse_pytest_fixtures_from_codebase`""" fixture_nodes = _gather_fixture_nodes_from_file(file) # Parse the body of each fixture and find symbols. @@ -296,7 +296,7 @@ def parse_pytest_tests_from_file( definition_map: Dict[str, Set[str]], fixture_map: Dict[str, Set[str]], ) -> Dict[str, Set[str]]: - """ See `parse_pytest_tests_from_codebase` """ + """See `parse_pytest_tests_from_codebase`""" # Parse the test file's imports and create associations between source files and test files file_graph: DefaultDict[str, Set[str]] = defaultdict(set) source_file_paths = parse_import_nodes_from_file(test_file, source, definition_map) diff --git a/tests/integration/test_great_expectations.py b/tests/integration/test_great_expectations.py index 6dfe8c3..6a729e5 100644 --- a/tests/integration/test_great_expectations.py +++ b/tests/integration/test_great_expectations.py @@ -49,7 +49,7 @@ def clean_dictionary_of_tmpdir_prefix(remove_tmpdir_path_prefix: Callable) -> Ca """ def _clean_dictionary_of_tmpdir_prefix( - graph: Dict[str, Set[str]] + graph: Dict[str, Set[str]], ) -> Dict[str, Set[str]]: cleaned_graph = {} for key, value in graph.items():