Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python-version: [ "3.14" ]
include:
- os: macos-latest
python-version: "3.8"
- os: windows-latest
python-version: "3.9"
- os: ubuntu-latest
Expand Down Expand Up @@ -57,7 +55,7 @@ jobs:
- name: Install Dependencies
run: uv pip install -r requirements-tests.txt
- name: Lint
if: matrix.python-version != '3.7' && matrix.python-version != '3.8' && matrix.python-version != '3.9'
if: matrix.python-version != '3.9'
run: bash scripts/lint.sh
- run: mkdir coverage
- run: bash ./scripts/test-files.sh
Expand All @@ -84,7 +82,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.8'
python-version: '3.13'
- name: Setup uv
uses: astral-sh/setup-uv@v7
with:
Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/default/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
2 changes: 1 addition & 1 deletion docs_src/arguments/default/tutorial002_an.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import random
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/envvar/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/envvar/tutorial002_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/envvar/tutorial003_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/help/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/help/tutorial002_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/help/tutorial003_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/help/tutorial004_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/help/tutorial005_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/help/tutorial006_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/help/tutorial007_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/help/tutorial008_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/optional/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/arguments/optional/tutorial002_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/commands/help/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer(help="Awesome CLI user manager.")

Expand Down
3 changes: 2 additions & 1 deletion docs_src/commands/help/tutorial004_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer(rich_markup_mode="rich")

Expand Down
3 changes: 2 additions & 1 deletion docs_src/commands/help/tutorial005_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer(rich_markup_mode="markdown")

Expand Down
3 changes: 1 addition & 2 deletions docs_src/commands/help/tutorial007_an.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Union
from typing import Annotated, Union

import typer
from typing_extensions import Annotated

app = typer.Typer(rich_markup_mode="rich")

Expand Down
3 changes: 2 additions & 1 deletion docs_src/commands/options/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Tuple
from typing import Annotated, Tuple

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 1 addition & 2 deletions docs_src/multiple_values/multiple_options/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import List, Optional
from typing import Annotated, List, Optional

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 1 addition & 2 deletions docs_src/multiple_values/multiple_options/tutorial002_an.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import List
from typing import Annotated, List

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Tuple
from typing import Annotated, Tuple

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 1 addition & 2 deletions docs_src/options/callback/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Optional
from typing import Annotated, Optional

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 1 addition & 2 deletions docs_src/options/callback/tutorial002_an.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Optional
from typing import Annotated, Optional

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 1 addition & 2 deletions docs_src/options/callback/tutorial003_an.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Optional
from typing import Annotated, Optional

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 1 addition & 2 deletions docs_src/options/callback/tutorial004_an.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Optional
from typing import Annotated, Optional

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/help/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/help/tutorial002_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/help/tutorial003_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/help/tutorial004_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/name/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/name/tutorial002_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/name/tutorial003_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/name/tutorial004_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/name/tutorial005_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/password/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/password/tutorial002_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/prompt/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/prompt/tutorial002_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/prompt/tutorial003_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 2 additions & 1 deletion docs_src/options/required/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Annotated

import typer
from typing_extensions import Annotated

app = typer.Typer()

Expand Down
3 changes: 1 addition & 2 deletions docs_src/options/version/tutorial001_an.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Optional
from typing import Annotated, Optional

import typer
from typing_extensions import Annotated

__version__ = "0.1.0"

Expand Down
3 changes: 1 addition & 2 deletions docs_src/options/version/tutorial002_an.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Optional
from typing import Annotated, Optional

import typer
from typing_extensions import Annotated

__version__ = "0.1.0"

Expand Down
Loading
Loading