Skip to content

Commit 60a4624

Browse files
committed
Fix flake 8 issues
1 parent 6394536 commit 60a4624

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nibabel/filebasedimages.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from copy import deepcopy
1313
from .fileholders import FileHolder
1414
from .filename_parser import (types_filenames, TypesFilenamesError,
15-
splitext_addext, _stringify_path)
15+
splitext_addext)
1616
from .openers import ImageOpener
1717
from .deprecated import deprecate_with_version
1818

nibabel/filename_parser.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ def _stringify_path(filepath_or_buffer):
2626
Returns
2727
-------
2828
str_filepath_or_buffer : str
29-
29+
3030
Notes
3131
-----
3232
Objects supporting the fspath protocol (python 3.6+) are coerced
3333
according to its __fspath__ method.
34-
For backwards compatibility with older pythons, pathlib.Path objects
34+
For backwards compatibility with older pythons, pathlib.Path objects
3535
are specially coerced.
3636
Any other object is passed through unchanged, which includes bytes,
3737
strings, buffers, or anything else that's not even path-like.

0 commit comments

Comments
 (0)