Skip to content

Rename some Python variables, add a skip check for Lizmap plugin #160

Rename some Python variables, add a skip check for Lizmap plugin

Rename some Python variables, add a skip check for Lizmap plugin #160

Workflow file for this run

name: ❄ Flake8
on:
push:
paths:
- 'cadastre/**.py'
pull_request:
paths:
- 'cadastre/**.py'
jobs:
flake8:
runs-on: ubuntu-latest
name: "Flake8"
steps:
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Checkout
uses: actions/checkout@v4
- uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Python requirements
run: pip install -r requirements/dev.txt
- name: Run flake8
run: flake8 --show-source --statistics