Skip to content

Commit

Permalink
Merge pull request #5 from rsashank/flake8_2
Browse files Browse the repository at this point in the history
Add flake8 linting for .py files
  • Loading branch information
woaitsAryan authored Apr 9, 2024
2 parents af2fedb + 5d745c5 commit c2587a8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Linting

on:
push:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
flake8:
runs-on: ubuntu-latest
name: Lint - PEP8 & more (flake8)
outputs:
id: check-python-files
value: ${{ steps.set-output.value }}
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: pip install flake8

- name: Run flake8
run: flake8

0 comments on commit c2587a8

Please sign in to comment.