Skip to content

Commit 004e1fb

Browse files
committed
style: reformat test_ignore.py for black 26.x
1 parent 21c5495 commit 004e1fb

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_ignore.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@
1111
def test_custom_ignore(temp_project, run_mapper):
1212
"""Test custom ignore patterns."""
1313
ignore_file = temp_project / "custom.ignore"
14-
ignore_file.write_text(
15-
"""
14+
ignore_file.write_text("""
1615
# Ignore all Python files
1716
*.py
1817
# Ignore docs directory
1918
docs/
2019
# Ignore specific file
2120
.gitignore
22-
"""
23-
)
21+
""")
2422
assert run_mapper([".", "-i", str(ignore_file), "-o", "directory_tree.yaml"])
2523
result = load_yaml(temp_project / "directory_tree.yaml")
2624
all_files = get_all_files_in_tree(result)

0 commit comments

Comments
 (0)