Skip to content

Commit

Permalink
Add flake8 Github check
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jan 19, 2024
1 parent 2cb5847 commit 3b4b1c9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '17 3 * * 0'

jobs:
flake8:
name: Flake8
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
-
uses: actions/setup-python@v4
with:
# matches compat target in setup.py
python-version: '3.10'
- name: "Main Script"
run: |
pip install flake8 flake8-bugbear flake8-isort flake8-quotes
flake8 prepare-ipynb

0 comments on commit 3b4b1c9

Please sign in to comment.