Skip to content

Commit

Permalink
Fix flake 8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CRiddler committed Oct 23, 2019
1 parent 6394536 commit 60a4624
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nibabel/filebasedimages.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from copy import deepcopy
from .fileholders import FileHolder
from .filename_parser import (types_filenames, TypesFilenamesError,
splitext_addext, _stringify_path)
splitext_addext)
from .openers import ImageOpener
from .deprecated import deprecate_with_version

Expand Down
4 changes: 2 additions & 2 deletions nibabel/filename_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ def _stringify_path(filepath_or_buffer):
Returns
-------
str_filepath_or_buffer : str
Notes
-----
Objects supporting the fspath protocol (python 3.6+) are coerced
according to its __fspath__ method.
For backwards compatibility with older pythons, pathlib.Path objects
For backwards compatibility with older pythons, pathlib.Path objects
are specially coerced.
Any other object is passed through unchanged, which includes bytes,
strings, buffers, or anything else that's not even path-like.
Expand Down

0 comments on commit 60a4624

Please sign in to comment.