Skip to content

Commit

Permalink
Ignore .ipynb_checkpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Oct 23, 2019
1 parent f4b153c commit 3ef0e73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ def list_notebooks(path='ipynb', skip='World'):
else:
notebooks = [os.path.join(nb_path, nb_file) for nb_file in os.listdir(nb_path)]

return notebooks
# ignore ".ipynb_checkpoints" sub-folder
return [nb_file for nb_file in notebooks if os.path.isfile(nb_file)]

0 comments on commit 3ef0e73

Please sign in to comment.