Skip to content

Commit

Permalink
Create flake8.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben committed Mar 4, 2024
1 parent a77e212 commit 05c6bf9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: flake8 ⚙️

on: [ push, pull_request ]

jobs:
main:
runs-on: ubuntu-latest

steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
architecture: x64
- name: Checkout repository
uses: actions/checkout@master
- name: Install flake8
run: pip install flake8 flake8-nb
- name: run flake8 ⚙️
run: |
find . -type f -name "*.py" | xargs flake8
- name: run flake8-notebook ⚙️
run: |
find . -type f -name "*.ipynb" | xargs flake8-nb

0 comments on commit 05c6bf9

Please sign in to comment.