Skip to content

Commit

Permalink
Add lint github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicaj committed Apr 21, 2024
1 parent 0e0ccbe commit 6345d1a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: flake8

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Analysing the code with flake8
run: flake8 .

0 comments on commit 6345d1a

Please sign in to comment.