pre-commit updates

This commit is contained in:
James R. Barlow
2021-10-31 01:31:57 -07:00
parent 21279f5784
commit c4c64c3ea0
3 changed files with 10 additions and 11 deletions
+1 -3
View File
@@ -107,9 +107,7 @@ def generate_pdfa_ps(target_filename: Path, icc: str = 'sRGB'):
if icc != 'sRGB':
raise NotImplementedError("Only supporting sRGB")
bytes_icc_profile = read_binary(
'ocrmypdf.data', SRGB_ICC_PROFILE_NAME
)
bytes_icc_profile = read_binary('ocrmypdf.data', SRGB_ICC_PROFILE_NAME)
ps = '\n'.join(_make_postscript(icc, bytes_icc_profile, 3))
# We should have encoded everything to pure ASCII by this point, and