Skip to content

New types

New types #44

Workflow file for this run

# 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