Skip to content

Commit

Permalink
chore: reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgruenhage committed May 18, 2024
1 parent 13b80e0 commit a6e8fad
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions paperless_asn_qr_codes/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,21 @@ def main():
description="CLI Tool for generating paperless ASN labels with QR codes",
)
parser.add_argument("start_asn", type=int, help="The value of the first ASN")
parser.add_argument("output_file", type=str, default="labels.pdf", help="The output file to write to (default: labels.pdf)")
parser.add_argument(
"output_file",
type=str,
default="labels.pdf",
help="The output file to write to (default: labels.pdf)",
)
parser.add_argument(
"--format", "-f", choices=avery_labels.labelInfo.keys(), default="averyL4731"
)
parser.add_argument(
"--digits", "-d", default=7, help="Number of digits in the ASN (default: 7, produces 'ASN0000001')", type=int
"--digits",
"-d",
default=7,
help="Number of digits in the ASN (default: 7, produces 'ASN0000001')",
type=int,
)
parser.add_argument(
"--border",
Expand Down

0 comments on commit a6e8fad

Please sign in to comment.