Merge pull request #1034 from EnMAP-Box/issue80_aryan #1860
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ❄ Flake8 | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- main | |
- release-** | |
jobs: | |
flake8_py3: | |
name: Python Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Run flake8 | |
uses: julianwachholz/flake8-action@v2 | |
with: | |
checkName: 'Python Lint' | |
plugins: flake8-qgis | |
config: .flake8 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |