From 0bd340d6704eaeaf2ecb517bef4761a691af1cc0 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 3 Feb 2025 20:55:04 -0500 Subject: [PATCH] pre-commit autoupdate Run `pre-commit autoupdate`. This picks up a fresh Black version from 2025, and with it comes a small but welcome formatting change. There is a new version of isort as well, but no formatting change there. Change-Id: Ie654a9c14c3a4096893011082668efb57c166fa4 --- .pre-commit-config.yaml | 4 ++-- gdb/python/lib/gdb/prompt.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea8847ef795..29f7f6415e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.8.0 + rev: 25.1.0 hooks: - id: black types_or: [file] @@ -54,7 +54,7 @@ repos: files: 'gdb/python/.*\.py(\.in)?$' args: [--config, gdb/setup.cfg] - repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 6.0.0 hooks: - id: isort types_or: [file] diff --git a/gdb/python/lib/gdb/prompt.py b/gdb/python/lib/gdb/prompt.py index 4ad38e4567a..497ab83888e 100644 --- a/gdb/python/lib/gdb/prompt.py +++ b/gdb/python/lib/gdb/prompt.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -""" Extended prompt library functions.""" +"""Extended prompt library functions.""" import os -- 2.39.5