Skip to content

Commit

Permalink
ci: Run mypy on all CPython versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mulugruntz committed Dec 5, 2023
1 parent 39fb412 commit aa19377
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
run: black --check .

- name: Check with mypy
if: ${{ !startsWith(matrix.python-version, 'pypy') && matrix.python-version >= '3.7' }}
if: ${{ !startsWith(matrix.python-version, 'pypy') }}
run: mypy

- name: Lint with flake8
Expand Down
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pytest
coverage==5.5
black==23.3.0
typing-extensions==4.5.0
typing-extensions==4.7.1

# Only for CPython (exclude pypy).
celery-types==0.14.0; implementation_name != 'pypy'
Expand Down
1 change: 0 additions & 1 deletion tests/test_pubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from celery_pubsub import publish, unsubscribe, publish_now

P = ParamSpec("P")
R = typing.TypeVar("R")


def test_subscription(job_c: Task[P, str], celery_worker: WorkController) -> None:
Expand Down

0 comments on commit aa19377

Please sign in to comment.