Skip to content

Commit 71d2cc6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5ce716b commit 71d2cc6

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

dgtest/cli/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def list_command(
153153
filter_: Optional[str],
154154
branch: Optional[str],
155155
) -> None:
156-
""" See 'list_dgtest_results' for more detail """
156+
"""See 'list_dgtest_results' for more detail"""
157157
list_dgtest_results(source, tests, depth, list(ignore_paths), filter_, branch)
158158

159159

@@ -177,7 +177,7 @@ def run_command(
177177
branch: Optional[str],
178178
pytest_opts: Tuple[str],
179179
) -> None:
180-
""" See 'run_dgtest_results' for more detail """
180+
"""See 'run_dgtest_results' for more detail"""
181181
code = run_dgtest_results(
182182
source, tests, depth, list(ignore_paths), filter_, branch, list(pytest_opts)
183183
)

dgtest/core/parse.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def parse_definition_nodes_from_codebase(
6969

7070

7171
def parse_definition_nodes_from_file(file: str) -> Dict[str, Set[str]]:
72-
""" See `parse_definition_nodes_from_codebase` """
72+
"""See `parse_definition_nodes_from_codebase`"""
7373
with open(file) as f:
7474
root = ast.parse(f.read(), file)
7575

@@ -116,7 +116,7 @@ def parse_import_nodes_from_file(
116116
source: str,
117117
definition_map: Dict[str, Set[str]],
118118
) -> Set[str]:
119-
""" See `parse_import_nodes_from_codebase` """
119+
"""See `parse_import_nodes_from_codebase`"""
120120
imports = _gather_import_nodes_from_file(file)
121121
paths = set()
122122
for import_ in imports:
@@ -204,7 +204,7 @@ def parse_pytest_fixtures_from_codebase(
204204
def parse_pytest_fixtures_from_file(
205205
file: str, definition_map: Dict[str, Set[str]]
206206
) -> Dict[str, Set[str]]:
207-
""" See `parse_pytest_fixtures_from_codebase` """
207+
"""See `parse_pytest_fixtures_from_codebase`"""
208208
fixture_nodes = _gather_fixture_nodes_from_file(file)
209209

210210
# Parse the body of each fixture and find symbols.
@@ -296,7 +296,7 @@ def parse_pytest_tests_from_file(
296296
definition_map: Dict[str, Set[str]],
297297
fixture_map: Dict[str, Set[str]],
298298
) -> Dict[str, Set[str]]:
299-
""" See `parse_pytest_tests_from_codebase` """
299+
"""See `parse_pytest_tests_from_codebase`"""
300300
# Parse the test file's imports and create associations between source files and test files
301301
file_graph: DefaultDict[str, Set[str]] = defaultdict(set)
302302
source_file_paths = parse_import_nodes_from_file(test_file, source, definition_map)

tests/integration/test_great_expectations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def clean_dictionary_of_tmpdir_prefix(remove_tmpdir_path_prefix: Callable) -> Ca
4949
"""
5050

5151
def _clean_dictionary_of_tmpdir_prefix(
52-
graph: Dict[str, Set[str]]
52+
graph: Dict[str, Set[str]],
5353
) -> Dict[str, Set[str]]:
5454
cleaned_graph = {}
5555
for key, value in graph.items():

0 commit comments

Comments
 (0)