• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ultimate-notion / ultimate-notion / 28111085830
87%

Build:
DEFAULT BRANCH: main
Ran 24 Jun 2026 03:50PM UTC
Jobs 7
Files 38
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jun 2026 03:47PM UTC coverage: 87.887% (+0.001%) from 87.886%
28111085830

push

github

web-flow
Add ty type checker to CI (#237)

* Add ty type checker to CI

Wire Astral's `ty` into the `lint` hatch env alongside mypy so it runs as
part of `hatch run lint:all` (and thus in CI). Existing diagnostics are
suppressed with rule-specific inline `# ty: ignore[...]` comments, with two
mypy-overlap rules (`unused-type-ignore-comment`, `redundant-cast`) disabled
via `[tool.ty]` config since they clash with suppressions/casts mypy needs.

Also fix a real bug ty surfaced: `Session.__exit__` typed its parameters as
non-optional, but Python passes `None` for all three on a clean exit, so the
context-manager protocol was not correctly implemented.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Bump ty to 0.0.51 and reduce ty ignores

Bump the pinned ty to 0.0.51 and drop the redundant `[tool.ty.environment]
python-version` (ty infers it from `requires-python`).

Remove ~70 `# ty: ignore` suppressions by fixing the underlying issues
rather than masking them:

- query.py: declare the per-subclass dispatch constants (`_condition_kw`,
  `_num_condition_kw`, `_date_condition_kw`) as `ClassVar`, so ty no longer
  treats them as required init params.
- query.py / google tasks client: add a small `_build()` helper to localize
  the genuinely-dynamic pydantic construction (`Model(**dynamic_kwargs)`),
  which ty cannot verify without a pydantic plugin.
- obj_api/endpoints.py: qualify `list[...]` annotations as `builtins.list[...]`
  where a sibling `list()` method shadows the builtin.
- blocks.py / props.py: narrow `Block | Sequence[Block]` via an
  explicitly-typed local instead of reassigning the parameter.
- raise_unset call sites: narrow with `if is_unset(x := ...): raise_unset(x)`
  (mypy and ty resolve the overloaded helper's union return differently).
- session.py: fix the genuinely-wrong `Session.__exit__` signature
  (parameters are `None` on a clean exit).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Narro... (continued)

11 of 11 new or added lines in 2 files covered. (100.0%)

6610 of 7521 relevant lines covered (87.89%)

6.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.11 - 28111085830.1 24 Jun 2026 03:50PM UTC 38
87.87
GitHub Action Run
2 run-ubuntu-latest-3.14 - 28111085830.2 24 Jun 2026 03:53PM UTC 38
87.87
GitHub Action Run
3 run-windows-latest-3.10 - 28111085830.3 24 Jun 2026 03:53PM UTC 38
85.12
GitHub Action Run
4 run-macos-latest-3.10 - 28111085830.4 24 Jun 2026 03:50PM UTC 38
87.89
GitHub Action Run
5 run-ubuntu-latest-3.13 - 28111085830.5 24 Jun 2026 03:50PM UTC 38
87.87
GitHub Action Run
6 run-ubuntu-latest-3.12 - 28111085830.6 24 Jun 2026 03:50PM UTC 38
87.87
GitHub Action Run
7 run-ubuntu-latest-3.10 - 28111085830.7 24 Jun 2026 03:51PM UTC 38
87.89
GitHub Action Run
Source Files on build 28111085830
  • Tree
  • List 38
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28111085830
  • 9f9b0a34 on github
  • Prev Build on main (#28110069193)
  • Next Build on main (#28115547799)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc