Skip to content

Commit 815fa57

Browse files
committed
Remove trailing whitespace
1 parent a659fdf commit 815fa57

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/publish_to_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Build package
3030
run: python -m build
31-
31+
3232
- name: Publish distribution to PyPI
3333
uses: pypa/gh-action-pypi-publish@release/v1
3434

font_collector/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def main() -> None:
5454

5555
fonts_file_found.update(collect_subtitle_fonts(subtitle, font_collection, font_strategy, collect_draw_fonts, convert_variable_to_collection, output_directory))
5656
_logger.info("")
57-
57+
5858
if use_ass_in_mkv:
5959
with TemporaryDirectory() as tmp_dir:
6060
assert isinstance(mkv_path, Path)

font_collector/parse_arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def parse_arguments() -> tuple[
172172

173173
if len(ass_files_path) == 0 and not use_ass_in_mkv:
174174
raise RuntimeError("The specified file(s)/folder(s) doesn't exist or the folder(s) doesn't contains any .ass file.")
175-
175+
176176
if use_ass_in_mkv and mkv_path is None:
177177
raise RuntimeError("You need to add the flag `-mkv` to use the flag `--use-ass-in-mkv`.")
178178

proof/[Symbol Font] Find unique char by ansi code page.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ def generate_supported_char_by_code_page(code_pages: list[int]) -> dict[int, set
1616

1717
if code_page not in supported_char_by_code_page:
1818
supported_char_by_code_page[code_page] = set()
19-
19+
2020
supported_char_by_code_page[code_page].add(char)
21-
21+
2222
return supported_char_by_code_page
2323

2424

@@ -31,7 +31,7 @@ def generate_unique_char_by_code_page(supported_char_by_code_page: dict[int, set
3131
for other_codepoint, other_char_set in supported_char_by_code_page.items():
3232
if other_codepoint == codepoint:
3333
continue
34-
34+
3535
unique_char_by_code_page[codepoint] -= other_char_set
3636

3737
return unique_char_by_code_page
@@ -50,11 +50,11 @@ def generate_unique_adobe_glyph_name_by_code_page(unique_char_by_code_page: dict
5050
if adobe_codepoint == ord(char):
5151
unique_adobe_glyph_name_by_code_page[codepoint].add(legacy_adobe_glyph_name.lower())
5252
found = True
53-
53+
5454
if not found:
5555
print(char)
5656
print(hex(ord(char)))
57-
57+
5858
return unique_adobe_glyph_name_by_code_page
5959

6060

0 commit comments

Comments
 (0)