Merge pull request #13 from CaiqueCoelho/lint-pep8 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source code | |
uses: actions/[email protected] | |
- name: Set up Python environment | |
uses: actions/[email protected] | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
pip install nbqa flake8 | |
- name: Run flake8 on notebooks | |
run: | | |
nbqa flake8 *.ipynb | |
- name: Run flake8 | |
run: | | |
flake8 . |