1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
|
[metadata]
name = astroquery
version = 0.4.6
description = Functions and classes to access online astronomical data resources
# FIXME long_description =
author = The Astroquery Developers
license = BSD
url = http://astropy.org/astroquery
edit_on_github = False
github_project = astropy/astroquery
[build_docs]
source-dir = docs
build-dir = docs/_build
all_files = 1
[build_sphinx]
source-dir = docs
build-dir = docs/_build
all_files = 1
[upload_docs]
upload-dir = docs/_build/html
show-response = 1
[tool:pytest]
minversion = 6.0
norecursedirs = build docs/_build docs/gallery-examples astroquery/irsa astroquery/nasa_exoplanet_archive astroquery/ned astroquery/ibe astroquery/irsa_dust astroquery/sha
doctest_plus = enabled
astropy_header = true
text_file_format = rst
xfail_strict = true
remote_data_strict = true
addopts = --doctest-rst
filterwarnings =
error
ignore: Experimental:UserWarning:
# This is a temporary measure, all of these should be fixed:
ignore:distutils Version classes are deprecated:DeprecationWarning
ignore::pytest.PytestUnraisableExceptionWarning
ignore::numpy.VisibleDeprecationWarning
ignore: unclosed file:ResourceWarning
ignore::UserWarning
ignore::astroquery.exceptions.InputWarning
ignore::astropy.utils.exceptions.AstropyDeprecationWarning
ignore::astropy.io.votable.exceptions.W03
ignore::astropy.io.votable.exceptions.W06
ignore::astropy.io.votable.exceptions.W15
ignore::astropy.io.votable.exceptions.W21
ignore::astropy.io.votable.exceptions.W22
ignore::astropy.io.votable.exceptions.W42
ignore::astropy.io.votable.exceptions.W49
ignore::astropy.io.votable.exceptions.W50
ignore:leap-second auto-update failed:astropy.utils.exceptions.AstropyWarning
ignore:numpy.ndarray size changed:RuntimeWarning
ignore:OverflowError converting::astropy
# Upstream, remove when fixed, PRs have been opened
ignore::DeprecationWarning:pyvo
ignore::DeprecationWarning:regions
# Should ignore these for astropy<5.0
ignore:getName|currentThread:DeprecationWarning:astropy
# This should be cleared once we requre astropy>=4.1
ignore:tostring\(\) is deprecated. Use tobytes:DeprecationWarning:astropy
markers =
bigdata: marks tests that are expected to trigger a large download (deselect with '-m "not bigdata"')
[ah_bootstrap]
auto_use = False
# We now have section for the pycodestyle command. We need to repeat the.
# Rather than check all warnings, we only test for a subset of them for now.
# PEP8 errors/warnings:
# E101 - mix of tabs and spaces
# E111 - 4 spaces per indentation level
# E112 - 4 spaces per indentation level
# E113 - 4 spaces per indentation level
# E124 - bracket does not match indentation
# E201 - whitespace after '('
# E202 - whitespace before ')'
# E203 - whitespace before ','
# E211 - whitespace before '('
# E221 - multiple spaces before operator
# E225 - missing whitespace around operator
# E231 - missing whitespace after ','
# E241 - multiple whitespace after ','
# E251 - unexpected spaces around keyword / parameter equals
# E261 - at least two spaces before inline comment
# E265 - block comment should start with '# '
# E271 - multiple spaces after keyword
# E272 - multiple spaces before keyword
# E301 - missing blank lines
# E302 - missing blank lines
# E303 - too many blank lines
# E305 - missing blank lines
# E502 - the backslash is redundant between brackets
# E703 - statement ends with a semicolon
# E711 - comparison to None should be 'if cond is None:'
# E712 - comparison to True should be 'if cond is True:' or 'if cond:'
# E714 - test for object identity should be 'is not'
# E722 - do not use bare except
# E901 - SyntaxError or IndentationError
# E902 - IOError
# W191 - use of tabs
# W291 - trailing whitespace
# W292 - no newline at end of file
# W293 - trailing whitespace
# W391 - blank line at end of file
# If you want to exclude a line from checking, simply add ' # noqa' at the
# end of the line
[pycodestyle]
select = E101,E111,E112,E113,E124,E201,E202,E203,E211,E221,E225,E231,E241,E251,E261,E265,E271,E272,E301,E302,E303,E305,E502,E703,E711,E712,E714,E722,E901,E902,W191,W291,W292,W293,W391
# E402 module level import not at top of file
# We need to ignore this as the .conf has to be set in the __init__.py
# before the modules are imported.
ignore = E402
# Excluding files that are directly copied from the package template or
# generated
exclude = _astropy_init.py,version.py
# E226 missing whitespace around operators
# E402 module level import not at top of file
# W503 line break before operator
# Stricter settings for people who use flake8 in their editors
[flake8]
max-line-length = 120
ignore = E226,E402,W503
exclude = _astropy_init.py,version.py
[coverage:run]
omit =
astroquery/*_init*
astroquery/tests/*
astroquery/*/tests/*
astroquery/*setup*
astroquery/version*
*/astroquery/*_init*
*/astroquery/tests/*
*/astroquery/*/tests/*
*/astroquery/*setup*
*/astroquery/version*
[entry_points]
[options]
install_requires=
numpy>=1.16
astropy>=4.0
requests>=2.4.3
beautifulsoup4>=4.3.2
html5lib>=0.999
keyring>=4.0
pyvo>=1.1
tests_require =
pytest-doctestplus>=0.10.1
pytest-astropy
[options.extras_require]
test=
pytest-astropy
matplotlib
jinja2
flask
pytest-dependency
docs=
sphinx-astropy>=1.5
scipy
all=
mocpy>=0.5.2
astropy-healpix
boto3
regions
pyregion
aplpy
|