Skip to content

Merge pull request #22 from H2OKing89/dependabot/pip/pillow-gte-12.3.0 #83

Merge pull request #22 from H2OKing89/dependabot/pip/pillow-gte-12.3.0

Merge pull request #22 from H2OKing89/dependabot/pip/pillow-gte-12.3.0 #83

Workflow file for this run

name: Linting
on:
push:
branches: [main, mam-api-migration]
pull_request:
branches: [main]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
cache: 'pip'
- name: Install ruff
run: pip install ruff
- name: Run ruff linter
run: ruff check src/ tests/ --output-format=github
- name: Run ruff formatter check
run: ruff format --check src/ tests/
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install mypy types-PyYAML types-cachetools types-beautifulsoup4
- name: Run mypy
run: mypy src/ --ignore-missing-imports --no-error-summary
# TODO: Remove continue-on-error when type coverage is more complete
continue-on-error: true