Skip to content

test: fix pyright strict-mode errors in tests/test_observable/test_z* (except test_zip) - #882

Open
EnesKartal wants to merge 1 commit into
ReactiveX:masterfrom
EnesKartal:test/pyright-observable-z-part1
Open

EnesKartal wants to merge 1 commit into
ReactiveX:masterfrom
EnesKartal:test/pyright-observable-z-part1

Conversation

@EnesKartal

Copy link
Copy Markdown
Contributor

Continues #873 (Refs #786).

  • Narrows [tool.pyright] exclude\ in \pyproject.toml\ from \ ests/test_observable/test_z*.py\ to \ ests/test_observable/test_zip.py.
  • Fixes all 36 strict-mode pyright errors across \ est_zip_iterable_subscriptions.py\ and \ est_ziplatest.py.

Validation:

  • \uv run pyright: 0 errors, 0 warnings
  • \uv run ruff check .\ & \uv run ruff format --check: passed
  • \uv run pytest tests/test_observable/test_zip_iterable_subscriptions.py tests/test_observable/test_ziplatest.py: 31 passed in 0.21s

… (except test_zip)

Narrow pyproject.toml exclude from test_z*.py to test_zip.py and fix all 36 strict-mode pyright errors in test_zip_iterable_subscriptions.py and test_ziplatest.py. Refs ReactiveX#786
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 93.822%. remained the same — EnesKartal:test/pyright-observable-z-part1 into ReactiveX:master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants