Skip to content

Merge pull request #862 from fractal-analytics-platform/dependabot/pi… #1265

Merge pull request #862 from fractal-analytics-platform/dependabot/pi…

Merge pull request #862 from fractal-analytics-platform/dependabot/pi… #1265

Workflow file for this run

name: Precommit and Mypy (soft)
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
package:
name: "Precommit and Mypy (soft)"
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: pip
- name: Run pre-commit (fail upon errors)
uses: pre-commit/[email protected]
- name: Install mypy
run: pip install mypy
- name: Run mypy (do not fail for errors)
continue-on-error: true
run: mypy --package fractal_tasks_core --ignore-missing-imports --warn-redundant-casts --warn-unused-ignores --warn-unreachable --pretty