Skip to content

Commit

Permalink
after linting
Browse files Browse the repository at this point in the history
  • Loading branch information
richrobe committed Apr 5, 2023
1 parent ce928ee commit 63db7d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion carwatch/labels/label_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import numpy as np

from carwatch.labels.print_layout import AveryZweckformJ4791Layout, PrintLayout
from carwatch.utils.study import Study
from carwatch.utils import assert_is_dir, sanitize_str_for_tex, tex_to_pdf, write_to_file
from carwatch.utils.study import Study


class LabelGenerator:
Expand Down
2 changes: 1 addition & 1 deletion carwatch/qr_codes/study_qr_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def generate(self, output_dir: str = ".", output_name: Union[str, None] = None):
qr_img = self._generate_qr_code()
self._save_qr_img(qr_img)

def _generate_qr_code(self) -> qrcode.image.pil.PilImage:
def _generate_qr_code(self) -> PilImage:
"""Generate a QR-Code with the study information.
This method translates the study data into a QR-Code. The information is encoded in the following format:
Expand Down

0 comments on commit 63db7d4

Please sign in to comment.