Skip to content

Commit

Permalink
Add flake8 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
p-goulart committed Nov 30, 2023
1 parent 09afc18 commit 36d9e61
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Flake8

on:
push:
paths:
- "**/*.py"
- "pyproject.toml"
- "poetry.lock"
- ".github/workflows/flake8.yml"

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
exclude: "**/.archive/"

0 comments on commit 36d9e61

Please sign in to comment.