Verified Commit db415117 authored by Chris Kerr's avatar Chris Kerr

Remove Python 2 compatibility headers

File encoding is utf-8 by default in Python 3 so there is no need
for the '# -*- coding: utf-8 -*-' line

The __future__ imports 'absolute_import' and 'division' are also not necessary

See #37
parent 0b6a796c
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from numpy.distutils.core import setup as np_setup
from numpy.distutils.extension import Extension as F2PyExtension
......
# -*- coding: utf-8 -*-
__copyright__ = "European Molecular Biology Laboratory (EMBL)"
__license__ = "LGPLv3+"
......
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division
__copyright__ = "Christopher Kerr"
__license__ = "LGPLv3+"
......
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division
__copyright__ = "European Molecular Biology Laboratory (EMBL)"
__license__ = "LGPLv3+"
import numpy as np
import pyopencl as cl
from pyopencl import array as cl_array
......
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division
__copyright__ = "Christopher Kerr"
__license__ = "LGPLv3+"
......
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division
__copyright__ = "Christopher Kerr"
__license__ = "LGPLv3+"
......
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division
__copyright__ = "European Molecular Biology Laboratory (EMBL)"
__license__ = "LGPLv3+"
import numpy as np
import pyopencl as cl
from pyopencl import array as cl_array
......
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division
__copyright__ = "European Molecular Biology Laboratory (EMBL)"
__license__ = "LGPLv3+"
import numpy as np
import pyopencl as cl
import pyopencl.array as cl_array
......
# -*- coding: utf-8 -*-
from __future__ import division
__copyright__ = "Christopher Kerr"
__license__ = "LGPLv3+"
......
#!/usr/bin/env python3
from __future__ import absolute_import, division
__copyright__ = "Christopher Kerr"
__license__ = "LGPLv3+"
......
# -*- coding: utf-8 -*-
from __future__ import division
from hypothesis import given
import hypothesis.strategies as st
import numpy as np
......
# -*- coding: utf-8 -*-
from hypothesis import assume, given, settings
import hypothesis.strategies as st
import hypothesis.extra.numpy as npst
......
"""Tests for the spherical bessel functions."""
from __future__ import division
from hypothesis import assume, given, settings
import hypothesis.strategies as st
import hypothesis.extra.numpy as npst
......
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division
from hypothesis import assume, given, HealthCheck, settings
import hypothesis.strategies as st
import numpy as np
......
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division
from hypothesis import given, settings
import hypothesis.strategies as st
import numpy as np
......
# -*- coding: utf-8 -*-
from __future__ import division
from hypothesis import assume, example, given, settings
import hypothesis.strategies as st
import hypothesis.extra.numpy as npst
......
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division
from hypothesis import assume, given, HealthCheck, settings
import hypothesis.strategies as st
import pytest
......
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division
from hypothesis import assume, given, settings
import hypothesis.strategies as st
import numpy as np
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment