Skip to content

Refactor API: Move automate to agent client and remove extract.schema #21

Refactor API: Move automate to agent client and remove extract.schema

Refactor API: Move automate to agent client and remove extract.schema #21

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- '**'
workflow_call: # Allows this workflow to be called by other workflows
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Cache pip packages
id: cache-deps
uses: actions/cache@v3
with:
path: ~/.local
key: pip-${{ runner.os }}-python-3.12-${{ hashFiles('pyproject.toml') }}
restore-keys: |
pip-${{ runner.os }}-python-3.12-
- name: Install dependencies
if: steps.cache-deps.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]" --user
- name: Check formatting with ruff
run: |
ruff format --check .
- name: Lint with ruff
run: |
ruff check .
- name: Type check with mypy
run: |
python -m mypy tabstack/
continue-on-error: true # Allow mypy failures for now