Skip to content

Add graceful degradation and scan API for robust scanning #601

Add graceful degradation and scan API for robust scanning

Add graceful degradation and scan API for robust scanning #601

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-python:
name: Lint Python with Ruff and ty
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
run: uv python install 3.11
- name: Install dependencies
run: uv sync --extra lint
- name: Check formatting with ruff
run: uv run ruff format --check .
- name: Lint with ruff
run: uv run ruff check fickling
- name: Type check with ty
run: uv run ty check fickling
continue-on-error: true # TODO: Remove once type annotations are fixed