[WIP] chore: fix the wrong types in the library #1037
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint PR | |
on: | |
pull_request: | |
branches: [main] | |
env: | |
UV_SYSTEM_PYTHON: 1 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies with uv | |
run: | | |
uv pip install ruff isort black | |
- name: Run linters | |
run: | | |
uv run ruff check . | |
uv run isort --check-only --diff . |