Skip to content

chore: give every coverage pragma a reason (TS6) - #34

Merged
lesnik512 merged 1 commit into
mainfrom
chore/pragma-reasons
Sep 27, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
chore/pragma-reasons

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Brings the coverage pragmas in line with TS5 and TS6: every # pragma: no cover now carries its reason on the same line. exclude_also was already exactly ["if typing.TYPE_CHECKING:"] and no file is excluded, so TS5 needed no change.

Counts: 0 tested / 0 deleted / 3 reasoned.

  • tests/test_jobs.py (2): bodies of tasks that inject rejects at decoration time, so they never run.
  • tests/conftest.py: the skip path when Redis is unreachable; the suite is meant to run against one.

Local checks

  • just install: ok
  • just lint-ci: pass
  • just test-ci against Redis 8 in Docker: 29 passed, 0 skipped, 100 % coverage

@lesnik512
lesnik512 merged commit 420a180 into main Sep 27, 2026
12 checks passed
@lesnik512
lesnik512 deleted the chore/pragma-reasons branch September 27, 2026 16:34
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.

1 participant