diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ecb60d4..6380cec 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,12 +6,12 @@ repos: args: [--py310-plus] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.12.0 + rev: 26.3.1 hooks: - id: black - repo: https://github.com/PyCQA/isort - rev: 7.0.0 + rev: 8.0.1 hooks: - id: isort args: [--add-import=from __future__ import annotations] @@ -43,17 +43,17 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.36.0 + rev: 0.37.1 hooks: - id: check-github-workflows - repo: https://github.com/rhysd/actionlint - rev: v1.7.10 + rev: v1.7.12 hooks: - id: actionlint - repo: https://github.com/rbubley/mirrors-prettier - rev: v3.7.4 + rev: v3.8.1 hooks: - id: prettier args: [--prose-wrap=always, --print-width=88] diff --git a/bitsofpluto.py b/bitsofpluto.py index 61c93e6..154b4e5 100644 --- a/bitsofpluto.py +++ b/bitsofpluto.py @@ -4,6 +4,7 @@ Photo by NASA's New Horizons spacecraft. https://www.nasa.gov/image-feature/the-rich-color-variations-of-pluto/… """ + from __future__ import annotations import argparse diff --git a/closest_point_to_pluto.py b/closest_point_to_pluto.py index 4deafb5..f5cc511 100644 --- a/closest_point_to_pluto.py +++ b/closest_point_to_pluto.py @@ -6,6 +6,7 @@ http://astronomy.stackexchange.com/a/13318/4166 """ + from __future__ import annotations import webbrowser