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

ci: Run mypy on all CPython versions #273

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/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