Skip to content

Commit 06e1364

Browse files
committed
Align code to latest flake8
1 parent 852e36e commit 06e1364

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gdtoolkit/formatter/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _check_files_formatting(
110110
failed_files.add(file_path)
111111
except OSError as exceptions:
112112
print(
113-
f"Cannot open file '{file_path}': {exceptions.strerror}",
113+
f"Cannot open file {file_path!r}: {exceptions.strerror}",
114114
file=sys.stderr,
115115
)
116116
failed_files.add(file_path)
@@ -155,7 +155,7 @@ def _format_files(files: List[str], line_length: int, safety_checks: bool) -> No
155155
failed_files.add(file_path)
156156
except OSError as exceptions:
157157
print(
158-
f"Cannot open file '{file_path}': {exceptions.strerror}",
158+
f"Cannot open file {file_path!r}: {exceptions.strerror}",
159159
file=sys.stderr,
160160
)
161161
failed_files.add(file_path)

0 commit comments

Comments
 (0)