Skip to content

Commit

Permalink
Add flake8 in the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjan-stha committed Dec 10, 2024
1 parent 8854f55 commit 446d584
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 check.

on:
pull_request:
push:
branches:
- main

jobs:
check:
name: Flake8 check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# Flake8 check
- name: Install flake8
run: pip install flake8
- name: Run flake8
uses: suo/flake8-github-action@releases/v1
with:
# NOTE: this needs to be the same as the job name
checkName: 'Flake8 check'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 446d584

Please sign in to comment.