aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2025-02-03 20:55:04 -0500
committerSimon Marchi <simon.marchi@efficios.com>2025-02-03 21:15:27 -0500
commit0bd340d6704eaeaf2ecb517bef4761a691af1cc0 (patch)
treeaebe8de67606ec4b04e75172c85dd4038ffb9376
parentbf5e5514bd841f4b4837435c46c67862ba3bdfe5 (diff)
downloadbinutils-0bd340d6704eaeaf2ecb517bef4761a691af1cc0.zip
binutils-0bd340d6704eaeaf2ecb517bef4761a691af1cc0.tar.gz
binutils-0bd340d6704eaeaf2ecb517bef4761a691af1cc0.tar.bz2
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
-rw-r--r--.pre-commit-config.yaml4
-rw-r--r--gdb/python/lib/gdb/prompt.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ea8847e..29f7f64 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 4ad38e4..497ab83 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 <http://www.gnu.org/licenses/>.
-""" Extended prompt library functions."""
+"""Extended prompt library functions."""
import os