Skip to content
Open
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ci:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.11.13"
rev: "v0.16.8"
hooks:
- id: ruff
types_or: [python, pyi, jupyter]
Expand All @@ -17,7 +17,7 @@ repos:
types_or: [python, pyi, jupyter]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: '.*\.fits$'
Expand All @@ -31,7 +31,7 @@ repos:
args: ["--maxkb=10000"]

- repo: https://github.com/kynan/nbstripout
rev: 0.8.1
rev: 0.9.1
hooks:
- id: nbstripout
args: ["--extra-keys=metadata.kernelspec metadata.language_info.version metadata.toc"]
2 changes: 1 addition & 1 deletion AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Dhanesh Krishnarao (DK), Shravan Shetty, Diego Gonzalez-Casanova, Audra Hernandez, Kris Stern, Kelle Cruz, Stephanie Douglas
Dhanesh Krishnarao (DK), Shravan Shetty, Diego Gonzalez-Casanova, Audra Hernandez, Kris Stern, Kelle Cruz, Stephanie Douglas
16 changes: 6 additions & 10 deletions FITS-cubes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,18 @@
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"from matplotlib.colors import LogNorm\n",
"\n",
"import astropy.units as u\n",
"from astropy.utils.data import download_file\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"from astropy.io import fits # We use fits to open the actual data file\n",
"\n",
"from astropy.utils import data\n",
"\n",
"from spectral_cube import SpectralCube\n",
"\n",
"from astropy.utils.data import download_file\n",
"from astropy.wcs import WCS\n",
"from astroquery.esasky import ESASky\n",
"from astroquery.utils import TableList\n",
"from astropy.wcs import WCS\n",
"from matplotlib.colors import LogNorm\n",
"from reproject import reproject_interp\n",
"from spectral_cube import SpectralCube\n",
"\n",
"data.conf.remote_timeout = 60"
]
Expand Down