Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Lint and Type Check

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
lint-and-typecheck:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "latest"

- name: Install dependencies
run: |
uv sync --extra 'dev'

- name: Run ruff check
run: |
uv run ruff check .

- name: Run ruff format check
run: |
uv run ruff format --check .

- name: Run mypy
run: |
uv run mypy .
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dependencies = [
[project.optional-dependencies]
dev = [
"httpx>=0.28.1",
"mypy>=1.14.0",
"pyright>=1.1.401",
"pytest>=8.3.5",
"pytest-asyncio>=1.0.0",
Expand Down
47 changes: 47 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.