Skip to content

Revert "release: 0.9.3" #322

Revert "release: 0.9.3"

Revert "release: 0.9.3" #322

Workflow file for this run

name: Lint
on:
push:
branches: [ main ]
paths:
- 'stackunderflow/**'
- 'pyproject.toml'
- 'requirements.txt'
- 'requirements-dev.txt'
- '.github/workflows/lint.yml'
pull_request:
branches: [ main ]
paths:
- 'stackunderflow/**'
- 'pyproject.toml'
- 'requirements.txt'
- 'requirements-dev.txt'
- '.github/workflows/lint.yml'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -r requirements-dev.txt
- name: Run ruff (errors only)
run: |
ruff check stackunderflow/ --select E,F --exclude="*/build.py"
- name: Check formatting with ruff
continue-on-error: true
run: |
ruff format stackunderflow/ --exclude="*/build.py" --check --diff
- name: Run mypy
continue-on-error: true
run: |
mypy stackunderflow/ --exclude="build.py" --ignore-missing-imports