Skip to content

Commit

Permalink
Merge pull request #137 from mcg1969/ipynb-ignore
Browse files Browse the repository at this point in the history
Ignore all ipynb_checkpoints directories
  • Loading branch information
mcg1969 committed Dec 19, 2018
2 parents 0a6cea8 + 0e27165 commit c5c5670
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion anaconda_project/project_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*.pyd
# Notebook stuff
/.ipynb_checkpoints
.ipynb_checkpoints/
# Spyder stuff
/.spyderproject
Expand Down
2 changes: 1 addition & 1 deletion anaconda_project/test/test_bundler.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def check(dirname):
pattern_strings = [pattern.pattern for pattern in patterns]

assert pattern_strings == [
'/anaconda-project-local.yml', '__pycache__/', '*.pyc', '*.pyo', '*.pyd', '/.ipynb_checkpoints',
'/anaconda-project-local.yml', '__pycache__/', '*.pyc', '*.pyo', '*.pyd', '.ipynb_checkpoints/',
'/.spyderproject'
]

Expand Down
2 changes: 1 addition & 1 deletion anaconda_project/test/test_project_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -4309,7 +4309,7 @@ def check(dirname):
""",
"foo.py": "print('hello')\n",
"foo.pyc": "",
".ipynb_checkpoints": "",
".ipynb_checkpoints/bleh": "",
"bar/blah.pyc": ""
}, check)

Expand Down

0 comments on commit c5c5670

Please sign in to comment.