mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
29 lines
568 B
YAML
29 lines
568 B
YAML
|
name: ❄ Flake8
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
paths:
|
||
|
- '**.py'
|
||
|
pull_request:
|
||
|
paths:
|
||
|
- '**.py'
|
||
|
|
||
|
jobs:
|
||
|
flake8_py3:
|
||
|
name: Python Lint
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Setup Python
|
||
|
uses: actions/setup-python@v2.2.1
|
||
|
with:
|
||
|
python-version: 3.7
|
||
|
architecture: x64
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
- name: Run flake8
|
||
|
uses: julianwachholz/flake8-action@v1.1.0
|
||
|
with:
|
||
|
checkName: 'Python Lint'
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|