Skip to content

feat: Add mypy pre-commit hook #409

feat: Add mypy pre-commit hook

feat: Add mypy pre-commit hook #409

Workflow file for this run

name: Lint
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- master
pull_request:
jobs:
ruff:
name: ruff
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: 'pip'
- run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff
working-directory: ./src
run: ruff djangocms_snippet