Skip to content

Commit 9e47ec0

Browse files
committed
RF: Drop one-line __future__ imports
1 parent 4a84a02 commit 9e47ec0

File tree

44 files changed

+0
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+0
-46
lines changed

nipype/algorithms/tests/test_modelgen.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
33
# vi: set ft=python sts=4 ts=4 sw=4 et:
4-
from __future__ import division
54

65
from copy import deepcopy
76
import os

nipype/external/fsl_imglob.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
# Innovation Limited ("Isis"), the technology transfer company of the
6464
# University, to negotiate a licence. Contact details are:
6565
# [email protected] quoting reference DE/9564.
66-
from __future__ import print_function
6766
import sys
6867
import glob
6968
from builtins import range

nipype/interfaces/ants/tests/test_extra_Registration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
22
# vi: set ft=python sts=4 ts=4 sw=4 et:
3-
from __future__ import unicode_literals
43
from nipype.interfaces.ants import registration
54
import os
65
import pytest

nipype/interfaces/cmtk/tests/test_nbs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import unicode_literals
21
from ..nbs import NetworkBasedStatistic
32
from ....utils.misc import package_check
43
import numpy as np

nipype/interfaces/dtitk/base.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
See the docstrings of the individual classes for examples.
2626
2727
"""
28-
from __future__ import print_function, division, unicode_literals, \
29-
absolute_import
30-
3128
import os
3229

3330
from ... import logging

nipype/interfaces/elastix/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# vi: set ft=python sts=4 ts=4 sw=4 et:
55
"""Top-level namespace for elastix."""
66

7-
from __future__ import absolute_import
87

98
from .registration import Registration, ApplyWarp, AnalyzeWarp, PointsWarp
109
from .utils import EditTransform

nipype/interfaces/freesurfer/tests/test_BBRegister.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import unicode_literals
21
from ..preprocess import BBRegister, BBRegisterInputSpec6
32

43

nipype/interfaces/freesurfer/tests/test_FSSurfaceCommand.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Modified 2017.04.21 by Chris Markiewicz
2-
from __future__ import unicode_literals
32
import pytest
43

54
from ..base import FSSurfaceCommand

nipype/interfaces/mrtrix3/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import absolute_import
21
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
32
# vi: set ft=python sts=4 ts=4 sw=4 et:
43
# -*- coding: utf-8 -*-

nipype/interfaces/niftyseg/stats.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
The stats module provides higher-level interfaces to some of the operations
55
that can be performed with the niftyseg stats (seg_stats) command-line program.
66
"""
7-
from __future__ import print_function
87
import numpy as np
98

109
from ..base import TraitedSpec, File, traits, CommandLineInputSpec

0 commit comments

Comments
 (0)