Skip to content

Commit

Permalink
chore: tweak flake8-black/black incompatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Jan 27, 2024
1 parent f293563 commit f2a47a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_badfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class Contents:
contents = (Contents(filename="bin/qmake", text="qqqqq"), Contents(filename="lib/libhoge.so", text="hoge"))
with TemporaryDirectory() as temp_path, SevenZipFile(
tmp_path / "tools_qtcreator-linux-qt.tools.qtcreator.7z", "w"
) as archive:
) as archive: # fmt: skip
dest = pathlib.Path(temp_path)
for folder in ("bin", "lib", "mkspecs"):
(dest / folder).mkdir(parents=True, exist_ok=True)
Expand All @@ -102,5 +102,5 @@ class Contents:
archive.writeall(path=temp_path, arcname="target")
with TemporaryDirectory() as target_path, SevenZipFile(
tmp_path / "tools_qtcreator-linux-qt.tools.qtcreator.7z", "r"
) as archive:
) as archive: # fmt: skip
archive.extractall(path=target_path)

0 comments on commit f2a47a4

Please sign in to comment.