Skip to content

Commit

Permalink
Create flake8.yml
Browse files Browse the repository at this point in the history
Github action to perform linting with flake8 on push and pull requests to main
  • Loading branch information
willjmax authored Nov 20, 2023
1 parent f838e48 commit 3343fa8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Linting with Flake8

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
flake8:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Run flake8
run: flake8

0 comments on commit 3343fa8

Please sign in to comment.