Skip to content

Commit

Permalink
refactor: pre-commit.ci auto fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and billsioros committed Mar 4, 2024
1 parent 20865c4 commit 0a76198
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Code Coverage
on:
push:
paths:
- 'src/**/*.py'
- 'tests/**/*.py'
- 'pyproject.toml'
- "src/**/*.py"
- "tests/**/*.py"
- "pyproject.toml"
jobs:
codecov:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -32,5 +32,8 @@ jobs:
- name: Generate the coverage report
run: |
poetry run python -m pytest -p no:sugar --cov=./src/querpyable --cov-report=xml
- name: Upload coverage report
uses: codecov/codecov-action@v3
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: billsioros/querpyable
6 changes: 2 additions & 4 deletions src/querpyable/querpyable.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,7 @@ def __call__(self, source: Iterable[T]) -> Iterable[T]:

class ThenByDescending(Unary):
"""Unary operation that performs a secondary descending order based on a key
selector.
"""
selector."""

def __init__(self, key_selector: Callable[[T], U]) -> None:
"""Initialize the ThenByDescending operation.
Expand All @@ -295,8 +294,7 @@ def __call__(self, source: Iterable[T]) -> Iterable[T]:

class Join(Binary):
"""Binary operation that joins two iterables based on key selectors and applies a
result selector.
"""
result selector."""

def __init__(
self,
Expand Down

0 comments on commit 0a76198

Please sign in to comment.