Skip to content

Commit

Permalink
chore: use py3.10 builtins when available
Browse files Browse the repository at this point in the history
waiting for fastapi/typer#522 then i can finally also remove Optional
  • Loading branch information
potatoeggy committed Feb 17, 2023
1 parent c2fded8 commit 15f5e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mandown/cli.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3

from pathlib import Path
from typing import List, Optional, cast
from typing import Optional, cast

import typer

Expand Down Expand Up @@ -327,7 +327,7 @@ def get(
"-t",
help="The maximum number of images to download in parallel",
),
processing_options: Optional[List[ProcessOps]] = typer.Option(
processing_options: Optional[list[ProcessOps]] = typer.Option(
[],
"--process",
"-p",
Expand Down

0 comments on commit 15f5e2c

Please sign in to comment.