From 040a8683756a27f57bb7d59b71f51c27895c6ea6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 23:01:21 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/psf/black: 24.8.0 → 25.1.0](https://github.com/psf/black/compare/24.8.0...25.1.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b019410..f6391e6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 25.1.0 hooks: - id: black From bfaf259dcaaf72db88410eb6e53f660cf23212fb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 23:01:27 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- across_client/base/coords.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/across_client/base/coords.py b/across_client/base/coords.py index 7453b2e..03b5c85 100644 --- a/across_client/base/coords.py +++ b/across_client/base/coords.py @@ -6,7 +6,7 @@ def coord_convert( - coord: Union[float, int, str, Quantity, Longitude, None] + coord: Union[float, int, str, Quantity, Longitude, None], ) -> Optional[float]: """Convert coordinates of various types either string, integer, astropy Longitude or astropy "deg" unit, to a float.