Skip to content
Merged
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: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: pip install pdm

- name: Install Dependencies
run: pdm install
run: pdm sync --clean

- name: Check formatting
run: pdm run ruff format . --check
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
run: pip install pdm

- name: Install minimum dependencies
run: pdm install -L pdm.minimal.lock
run: pdm sync --clean -L pdm.minimal.lock

- name: Run mypy
run: pdm mypy --show-error-codes
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
run: |
cd integration-tests
pip install pdm
pdm install -L ${{ matrix.lockfile }}
pdm sync --clean -L ${{ matrix.lockfile }}
- name: Run Tests
run: |
cd integration-tests
Expand Down
2 changes: 1 addition & 1 deletion end_to_end_tests/functional_tests/helpers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import Any, Dict
import re

from click.testing import Result
from typer.testing import Result
import pytest

from end_to_end_tests.generated_client import generate_client_from_inline_spec, GeneratedClientContext
Expand Down
3 changes: 1 addition & 2 deletions end_to_end_tests/generated_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@

from attrs import define
import pytest
from click.testing import Result
from typer.testing import CliRunner
from typer.testing import CliRunner, Result

from openapi_python_client.cli import app

Expand Down
3 changes: 1 addition & 2 deletions end_to_end_tests/test_end_to_end.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
from pathlib import Path

import pytest
from click.testing import Result
from typer.testing import CliRunner
from typer.testing import CliRunner, Result

from end_to_end_tests.generated_client import (
_run_command, generate_client, generate_client_from_inline_spec,
Expand Down
Loading