Skip to content

Commit

Permalink
refactor annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
timschneider committed Jan 3, 2025
1 parent 9e37967 commit e3ff5aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eu_einvoice/european_e_invoice/custom/sales_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ def download_pdf(
frappe.local.response.filecontent = zugferd_pdf


def _create_symlink_to_icc_profile():
def _create_symlink_to_icc_profile() -> None:
"""Create a symlink to the ICC profile in the Ghostscript installation."""
import os
import re
Expand Down Expand Up @@ -841,7 +841,7 @@ def _convert_pdf_to_pdfa(pdf_data: bytes) -> bytes:
return pdfa_data


def _is_ghostscript_installed():
def _is_ghostscript_installed() -> bool:
"""Check if Ghostscript is installed on the system."""
import shutil

Expand Down

0 comments on commit e3ff5aa

Please sign in to comment.