Stricter parameter checking for many public functions

This commit is contained in:
James R. Barlow
2021-01-31 19:27:25 -08:00
parent 390fdf8c05
commit bccf2f423f
8 changed files with 25 additions and 13 deletions
+1
View File
@@ -166,6 +166,7 @@ class GhostscriptFollower:
def generate_pdfa(
pdf_pages,
output_file: os.PathLike,
*,
compression: str,
pdf_version: str = '1.5',
pdfa_part: str = '2',