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 d6e8437 commit c937930
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,7 @@ jobs:
mv "${notebook%.ipynb}.py" converted_scripts/
done
shell: bash

- name: Run Flake8 linting
run: |
mkdir -p linting_logs
flake8_errors=0
for script in converted_scripts/*.py; do
[ -e "$script" ] || continue
flake8 "$script" > "linting_logs/$(basename "$script" .py)_linting.log" 2>&1 || flake8_errors=$((flake8_errors+1))
done
exit $flake8_errors
shell: bash


- name: Run Python scripts with IPython
run: |
mkdir -p logs
Expand Down

0 comments on commit c937930

Please sign in to comment.