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.12.0"
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"]
13 changes: 6 additions & 7 deletions gaia-visualization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,17 @@
"outputs": [],
"source": [
"import warnings # So we can suppress expected warnings\n",
"import numpy as np\n",
"\n",
"from astroquery.gaia import Gaia # For data access\n",
"\n",
"from astropy.coordinates import (\n",
" SkyCoord,\n",
") # For storing a manipulation object sky positions\n",
"import astropy.units as u\n",
"\n",
"# For plotting\n",
"import matplotlib.pyplot as plt\n",
"import matplotlib.animation as animation\n",
"import numpy as np\n",
"from astropy.coordinates import (\n",
" SkyCoord,\n",
") # For storing a manipulation object sky positions\n",
"from astroquery.gaia import Gaia # For data access\n",
"from matplotlib import animation\n",
"\n",
"plt.rcParams[\"animation.html\"] = (\n",
" \"jshtml\" # To make the animations render correctly in the notebook\n",
Expand Down