fix: align README badges with best practices

- License: use standard MIT yellow badge, link to opensource.org
- Python: update to 3.14 to match pyproject.toml
- uv: use official dynamic endpoint badge from astral-sh/uv
- Tests: replace static pytest 95% with GitHub Actions badge
- Ty: fix link to PyPI (pypi.org/project/ty/)
- Add .github/workflows/tests.yml for CI

Co-authored-by: Ali Khokhar <alishahryar2@gmail.com>
This commit is contained in:
Cursor Agent 2026-02-15 06:32:25 +00:00
parent 8509e44a82
commit d68fd6013c
2 changed files with 32 additions and 5 deletions

27
.github/workflows/tests.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Tests
on:
push:
branches: [main, master, cursor/readme-badges-best-practices-2d69]
pull_request:
branches: [main, master, cursor/readme-badges-best-practices-2d69]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"
- name: Set up Python
run: uv python install 3.14
- name: Install dependencies
run: uv sync --all-extras --dev
- name: Run tests
run: uv run pytest -v --tb=short