-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing isort, and adding actions to lint and ensure clean notebooks.
Fixing danging linting issue in the tutorial notebook, so I expect the workflow to pass.
- Loading branch information
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,6 @@ jobs: | |
with: | ||
python-version: "3.10" | ||
|
||
- name: isort Import Sorting Check | ||
uses: isort/isort-action@master | ||
|
||
- name: Back Formatting Check | ||
uses: psf/black@stable | ||
with: | ||
|
@@ -36,3 +33,15 @@ jobs: | |
|
||
- name: Lint with Flake8 | ||
uses: py-actions/flake8@v2 | ||
|
||
- name: Install Flake8 for Jupyter Notebooks | ||
run: | | ||
pip install --upgrade pip | ||
pip install flake8-nb | ||
- name: Run Flake8 for Jupyter Notebooks | ||
run: | | ||
flake8-nb . | ||
- name: Ensure Clean Notebooks | ||
uses: ResearchSoftwareActions/[email protected] |
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