Skip to content

ENH: Modify Directory and File traits to get along with pathlib #2962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 17, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
sty: make codacy happy (Redefining built-in 'FileNotFoundError')
  • Loading branch information
oesteban committed Jul 17, 2019
commit d42db563bd11dadc2a38b8550f43677c0d22fb28
2 changes: 1 addition & 1 deletion nipype/utils/filemanip.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
PY3 = sys.version_info[0] >= 3


class FileNotFoundError(OSError):
class FileNotFoundError(OSError): # noqa
"""Defines the exception for Python 2."""

def __init__(self, path):
Expand Down