Skip to content

Migrate type checking to ty - #678

Closed
akihironitta wants to merge 11 commits into
masterfrom
aki/ty
Closed

akihironitta wants to merge 11 commits into
masterfrom
aki/ty

Conversation

@akihironitta

Copy link
Copy Markdown
Member

Summary

  • replace the soft mypy linting workflow with ty
  • add ty project configuration scoped to pyg_lib
  • fix package type diagnostics reported by ty

Testing

  • ty check --output-format github
  • python -m ruff check pyg_lib/init.py pyg_lib/_triton.py pyg_lib/ops/init.py pyg_lib/sampler/init.py pyg_lib/testing.py
  • python -m ruff format --check pyg_lib/init.py pyg_lib/_triton.py pyg_lib/ops/init.py pyg_lib/sampler/init.py pyg_lib/testing.py
  • python -m flake8 --extend-ignore=E203 pyg_lib/init.py pyg_lib/_triton.py pyg_lib/ops/init.py pyg_lib/sampler/init.py pyg_lib/testing.py
  • python -m py_compile pyg_lib/init.py pyg_lib/_triton.py pyg_lib/ops/init.py pyg_lib/sampler/init.py pyg_lib/testing.py

@akihironitta
akihironitta deleted the aki/ty branch June 29, 2026 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant