New types #44
This file contains hidden or 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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: Lint | |
on: | |
push: | |
branches: [ "**" ] | |
pull_request: | |
branches: [ "**" ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.11", "3.12", "3.13"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install the latest version of uv and set the python version | |
uses: astral-sh/setup-uv@v6 | |
with: | |
python-version: ${{ matrix.python-version }} | |
activate-environment: true | |
- name: Create uv venv | |
run: uv sync | |
- name: install dependencies ${{ matrix.python-version }} | |
run: uv pip install -r pyproject.toml --group lint | |
- name: Run ruff format check | |
run: ruff format --check strictql_postgres tests | |
- name: Run ruff check | |
run: ruff check strictql_postgres tests --extend-select I | |
- name: Run mypy | |
run: mypy strictql_postgres tests | |