Skip to content

Commit

Permalink
Update python-package-conda.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vsyrgkanis authored Jun 28, 2024
1 parent 3fc500a commit decde60
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run Notebook
run: |
cd PM1
jupyter nbconvert --to script python-linear-model-overfitting.ipynb
python python-linear-model-overfitting.py
- name: Lint with flake8
run: |
conda install -y flake8
pip install -y flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run Notebook
run: |
cd PM1
jupyter nbconvert --to script python-linear-model-overfitting.ipynb
python python-linear-model-overfitting.py

0 comments on commit decde60

Please sign in to comment.