Skip to content

Commit

Permalink
Merge pull request #101 from larrybradley/updates
Browse files Browse the repository at this point in the history
Misc package updates
  • Loading branch information
larrybradley committed Sep 19, 2023
2 parents 6b32900 + 344523f commit 58d2ca7
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ pip-wheel-metadata
# Other
.cache
.tox
.tmp
.*.sw[op]
*~

Expand Down
2 changes: 1 addition & 1 deletion astroimtools/cutout_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from astropy.io import fits
from astropy.nddata.utils import Cutout2D, NoOverlapError
from astropy.table import QTable
from astropy.wcs import WCS, NoConvergence
from astropy.utils.decorators import deprecated_renamed_argument
from astropy.wcs import WCS, NoConvergence

__all__ = ['make_cutouts', 'show_cutout_with_slit']

Expand Down
2 changes: 0 additions & 2 deletions docs/_templates/autosummary/base.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/_templates/autosummary/class.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/_templates/autosummary/module.rst

This file was deleted.

11 changes: 5 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns.append('_templates') # noqa: F405
# exclude_patterns.append('_templates')

plot_formats = ['png', 'hires.png', 'pdf', 'svg']

Expand All @@ -71,9 +71,9 @@
author = project_meta['authors'][0]['name']
copyright = f'2015-{datetime.utcnow().year}, {author}'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
# The version info for the project you're documenting, acts as
# replacement for |version| and |release|, also used in various other
# places throughout the built documents.
__import__(project)
package = sys.modules[project]

Expand All @@ -84,7 +84,6 @@


# -- Options for HTML output --------------------------------------------------

# A NOTE ON HTML THEMES
# The global astropy configuration uses a custom theme,
# 'bootstrap-astropy', which is installed along with astropy. A
Expand Down Expand Up @@ -137,7 +136,6 @@
# start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [('index', project + '.tex', project + ' Documentation',
author, 'manual')]
latex_logo = '_static/photutils_banner.pdf'

# -- Options for manual page output -------------------------------------------
# One entry per manual page. List of tuples (source start file, name,
Expand Down Expand Up @@ -180,6 +178,7 @@
linkcheck_ignore = ['http://data.astropy.org',
r'https://github\.com/spacetelescope/astroimtools/(?:issues|pull)/\d+']
linkcheck_timeout = 180
linkcheck_anchors = False

# -- Generate rst files for Jupyter notebooks --------------------------------
extensions += ['nbsphinx'] # noqa: F405
Expand Down
2 changes: 1 addition & 1 deletion docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Astroimtools has the following strict requirements:

* `Astropy`_ 5.0 or later

* `SciPy <https://scipy.org/>`_ 1.7 or later
* `SciPy <https://scipy.org/>`_ 1.7.2 or later

`pytest-astropy <https://github.com/astropy/pytest-astropy>`_ (0.10 or
later) is required to run the test suite.
Expand Down

0 comments on commit 58d2ca7

Please sign in to comment.