From 07007db7f23162c67e8bfcb639ff60a230b2ed16 Mon Sep 17 00:00:00 2001 From: nightwnvol Date: Tue, 12 Dec 2023 13:14:13 +0100 Subject: [PATCH] refactor: remove __future__ import --- amico/__init__.py | 2 -- amico/core.py | 2 -- amico/lut.pyx | 2 -- amico/models.pyx | 2 -- amico/preproc.py | 2 -- amico/scheme.py | 2 -- amico/util.py | 2 -- 7 files changed, 14 deletions(-) diff --git a/amico/__init__.py b/amico/__init__.py index 48bbbd1..1bc5e88 100755 --- a/amico/__init__.py +++ b/amico/__init__.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import, division, print_function - from .core import Evaluation, setup from .util import set_verbose, get_verbose from . import core diff --git a/amico/core.py b/amico/core.py index 04c2673..3c0b39c 100644 --- a/amico/core.py +++ b/amico/core.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import, division, print_function - import numpy as np import time import glob diff --git a/amico/lut.pyx b/amico/lut.pyx index 6434826..c18020e 100644 --- a/amico/lut.pyx +++ b/amico/lut.pyx @@ -1,8 +1,6 @@ # distutils: language = c++ # cython: language_level = 3 -from __future__ import absolute_import, division, print_function - import numpy as np from os import makedirs import sys diff --git a/amico/models.pyx b/amico/models.pyx index 26712e0..a1597d2 100644 --- a/amico/models.pyx +++ b/amico/models.pyx @@ -1,8 +1,6 @@ # distutils: language = c++ # cython: language_level = 3 -from __future__ import absolute_import, division, print_function - import numpy as np from os import environ from os.path import join as pjoin diff --git a/amico/preproc.py b/amico/preproc.py index 74c9dbd..1f64762 100644 --- a/amico/preproc.py +++ b/amico/preproc.py @@ -1,5 +1,3 @@ -from __future__ import print_function - import numpy as np from scipy.optimize import minimize import scipy.special diff --git a/amico/scheme.py b/amico/scheme.py index 36316f4..0833419 100644 --- a/amico/scheme.py +++ b/amico/scheme.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import, division, print_function - import numpy as np from re import match as re_match from amico.util import LOG, NOTE, WARNING, ERROR diff --git a/amico/util.py b/amico/util.py index 944ad19..82e55ce 100644 --- a/amico/util.py +++ b/amico/util.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import, division, print_function - import numpy as np import os.path from sys import exit