From 6ac36f902af848213fc35ece40de0ac1defb0acb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Sep 2026 16:54:30 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.13 → v0.16.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.16.9) - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/kynan/nbstripout: 0.8.1 → 0.9.1](https://github.com/kynan/nbstripout/compare/0.8.1...0.9.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d2075a6..bf42ca4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.11.13" + rev: "v0.16.9" hooks: - id: ruff types_or: [python, pyi, jupyter] @@ -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$' @@ -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"] From 0c3f56cdf32c490b72d056a4e458c27d72b6eb88 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Sep 2026 16:55:18 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- FITS-tables.ipynb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/FITS-tables.ipynb b/FITS-tables.ipynb index 0e0f12f..3008c82 100644 --- a/FITS-tables.ipynb +++ b/FITS-tables.ipynb @@ -36,14 +36,13 @@ }, "outputs": [], "source": [ + "# Set up matplotlib\n", + "import matplotlib.pyplot as plt\n", "import numpy as np\n", "from astropy.io import fits\n", "from astropy.table import Table\n", "from matplotlib.colors import LogNorm\n", "\n", - "# Set up matplotlib\n", - "import matplotlib.pyplot as plt\n", - "\n", "%matplotlib inline" ] },