Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/setup-python from 5.0.0 to 5.1.0 #54

Merged
merged 2 commits into from
Mar 27, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
14 changes: 6 additions & 8 deletions src/openqa_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ def do_request(
retries: Optional[int] = None,
wait: Optional[Union[int, float]] = None,
parse: Literal[False] = False,
) -> requests.Response:
... # pragma: no cover
) -> requests.Response: ... # pragma: no cover

@overload
def do_request(
Expand All @@ -174,8 +173,7 @@ def do_request(
retries: Optional[int] = None,
wait: Optional[Union[int, float]] = None,
parse: Literal[True] = True,
) -> Any:
... # pragma: no cover
) -> Any: ... # pragma: no cover

def do_request(
self,
Expand Down Expand Up @@ -327,14 +325,14 @@ def find_clones(self, jobs: List[Job]) -> List[Job]:
return jobs

@overload
def get_jobs(self, jobs: Literal[None], build: Literal[None], filter_dupes: bool) -> NoReturn:
... # pragma: no cover
def get_jobs(
self, jobs: Literal[None], build: Literal[None], filter_dupes: bool
) -> NoReturn: ... # pragma: no cover

@overload
def get_jobs(
self, jobs: Optional[List[Union[str, int]]], build: Optional[str], filter_dupes: bool
):
... # pragma: no cover
): ... # pragma: no cover

def get_jobs(
self,
Expand Down
Loading