Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
abbass2 committed Oct 25, 2023
1 parent 0169cb9 commit 7831696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ for:
- mypy --ignore-missing-imports pyqstrat/
- flake8 --ignore W291,W293,W503,E402,E701,E275,E741 --max-line-length=160 pyqstrat/
# run notebooks and exit on first error
- find pyqstrat/notebooks -name '*.ipynb' \( -exec sh -c 'trap "exit \$?" EXIT; ipython "$0"' {} \; -o -quit \)

- find pyqstrat/notebooks -name '*.ipynb' | xargs -n1 sh -c 'ipython $0 || exit 255'

-
matrix:
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mypy --ignore-missing-imports pyqstrat/
flake8 --ignore W291,W293,W503,E402,E701,E275,E741 --max-line-length=160 --extend-exclude notebooks pyqstrat/

# run notebooks and exit on first error
find pyqstrat/notebooks -name '*.ipynb' \( -exec sh -c 'trap "exit \$?" EXIT; ipython "$0"' {} \; -o -quit \)
find pyqstrat/notebooks -name '*.ipynb' | xargs -n1 sh -c 'ipython $0 || exit 255'

# build docs
rm -Rf ./docs/*
Expand Down

0 comments on commit 7831696

Please sign in to comment.