Skip to content

Commit 0b9760c

Browse files
committed
fix: remove flake8-putty, fix build_docs
1 parent 3c73232 commit 0b9760c

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ python:
1010

1111
before_install:
1212
- python -m pip install --upgrade pip
13-
- pip install "flake8<3.0" flake8-putty
13+
- pip install flake8
1414

1515
script:
1616
- flake8 fmriprep wrapper

fmriprep/config.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -545,9 +545,12 @@ def init_spaces(checkpoint=True):
545545
if checkpoint:
546546
spaces.checkpoint()
547547

548-
internal = workflow.internal_spaces
549-
if internal is not None and internal.strip():
550-
for ref in internal.split(' '):
551-
spaces.add(ref)
552-
548+
if workflow.internal_spaces:
549+
internal = [
550+
Reference.from_string(ref)
551+
for ref in workflow.internal_spaces.strip().split(' ')
552+
]
553+
spaces += [
554+
ref[0] for ref in internal if ref[0].fullname not in spaces
555+
]
553556
workflow.spaces = spaces

setup.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,3 @@ parentdir_prefix =
103103
max-line-length = 99
104104
doctests = True
105105
exclude=*build/
106-
putty-ignore =
107-
*/__init__.py : +F401
108-
docs/conf.py : +E265
109-
/^\s*\.\. _.*?: http/ : +E501

0 commit comments

Comments
 (0)