Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion astroquery/alfalfa/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Created on: Fri May 3 09:45:13 2013
"""

from __future__ import print_function

import requests
import numpy as np
import numpy.ma as ma
Expand Down
2 changes: 1 addition & 1 deletion astroquery/alfalfa/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/alma/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function

import json
import os.path
import keyring
Expand Down
2 changes: 1 addition & 1 deletion astroquery/alma/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/alma/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/astrometry_net/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import json

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/atomic/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import absolute_import


import os.path

Expand Down
2 changes: 1 addition & 1 deletion astroquery/besancon/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function

import socket
import time
import copy
Expand Down
2 changes: 1 addition & 1 deletion astroquery/besancon/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/cadc/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/casda/tests/test_casda.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*

# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import pytest
import requests
Expand Down
2 changes: 1 addition & 1 deletion astroquery/cosmosim/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import requests
import warnings
Expand Down
2 changes: 1 addition & 1 deletion astroquery/dace/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function

from collections import defaultdict
from json import JSONDecodeError
from astropy.table import Table
Expand Down
2 changes: 1 addition & 1 deletion astroquery/dace/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/esa/hubble/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
1 change: 0 additions & 1 deletion astroquery/esa/xmm_newton/tests/setup_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
Created on 4 Sept. 2019
"""

from __future__ import absolute_import

import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/esasky/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function

import json
import os
import tempfile
Expand Down
2 changes: 1 addition & 1 deletion astroquery/esasky/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/esasky/tests/test_esasky.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import pytest

Expand Down
2 changes: 1 addition & 1 deletion astroquery/esasky/tests/test_esasky_remote.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function

import os
import shutil
import pytest
Expand Down
2 changes: 1 addition & 1 deletion astroquery/eso/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function

import time
import sys
import os.path
Expand Down
2 changes: 1 addition & 1 deletion astroquery/eso/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/exoplanet_orbit_database/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/fermi/core.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""Download of Fermi LAT (Large Area Telescope) data"""
from __future__ import print_function

import re
import requests
import time
Expand Down
2 changes: 1 addition & 1 deletion astroquery/fermi/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/fermi/tests/test_fermi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function

import os
import requests
import pytest
Expand Down
2 changes: 1 addition & 1 deletion astroquery/fermi/tests/test_fermi_remote.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import pytest
import astropy.coordinates as coord
Expand Down
2 changes: 1 addition & 1 deletion astroquery/gaia/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/gama/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/heasarc/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function

import warnings
from six import BytesIO
from astropy.table import Table
Expand Down
2 changes: 1 addition & 1 deletion astroquery/heasarc/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
1 change: 0 additions & 1 deletion astroquery/heasarc/tests/test_heasarc.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function
2 changes: 1 addition & 1 deletion astroquery/heasarc/tests/test_heasarc_remote.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import pytest
import requests
Expand Down
2 changes: 1 addition & 1 deletion astroquery/hitran/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/ibe/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

http://irsa.ipac.caltech.edu/ibe/
"""
from __future__ import print_function, division


import os
import webbrowser
Expand Down
2 changes: 1 addition & 1 deletion astroquery/ibe/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/ibe/tests/test_ibe.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function

import os
import requests

Expand Down
2 changes: 1 addition & 1 deletion astroquery/imcce/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


from collections import OrderedDict
import warnings
Expand Down
2 changes: 1 addition & 1 deletion astroquery/imcce/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/imcce/tests/test_miriade.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import pytest
import os
Expand Down
2 changes: 1 addition & 1 deletion astroquery/imcce/tests/test_miriade_remote.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import numpy.testing as npt
import pytest
Expand Down
2 changes: 1 addition & 1 deletion astroquery/irsa/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
equal to available to be retrieved rows under the same
constraints.
"""
from __future__ import print_function, division


import warnings
import xml.etree.ElementTree as tree
Expand Down
2 changes: 1 addition & 1 deletion astroquery/irsa/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/irsa/tests/test_irsa.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function

import os
import re
import requests
Expand Down
2 changes: 1 addition & 1 deletion astroquery/irsa/tests/test_irsa_remote.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import pytest
import astropy.units as u
Expand Down
2 changes: 1 addition & 1 deletion astroquery/irsa_dust/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/jplhorizons/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


# 1. standard library imports
from numpy import nan
Expand Down
2 changes: 1 addition & 1 deletion astroquery/jplhorizons/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/jplhorizons/tests/test_jplhorizons.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import pytest
import os
Expand Down
2 changes: 1 addition & 1 deletion astroquery/jplhorizons/tests/test_jplhorizons_remote.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function


import pytest
from astropy.tests.helper import assert_quantity_allclose
Expand Down
2 changes: 1 addition & 1 deletion astroquery/jplsbdb/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/jplspec/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/lamda/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
2 changes: 1 addition & 1 deletion astroquery/lcogt/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
Note: The constraint should follow SQL syntax.

"""
from __future__ import print_function, division


import warnings
from astropy.logger import log
Expand Down
2 changes: 1 addition & 1 deletion astroquery/lcogt/tests/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import


import os

Expand Down
Loading