]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Move isort config to pyproject.toml
authorTom Tromey <tromey@adacore.com>
Wed, 17 Sep 2025 15:36:45 +0000 (09:36 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 18 Sep 2025 14:06:40 +0000 (08:06 -0600)
My understanding is that pyproject.toml is the "new" way to configure
Python tools.  Although setup.cfg can't yet be removed (flake8 has
some issue with pyproject.toml), we can move the isort config here.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/pyproject.toml
gdb/setup.cfg

index 4469f1cd61df19e54faf547f4a2ebb1d72258a7f..144c48947ee6ecfe168f04eb34fc57f6157335d2 100644 (file)
@@ -3,3 +3,6 @@ include = "\\.py(\\.in)?$"
 
 [tool.pyright]
 typeCheckingMode = "strict"
+
+[tool.isort]
+profile = "black"
index d33058ea7f0fa9b2bacc3cbde4e046e1a1bf20cf..2e83eb5cf5690a9d31dc778ba9203f7eb5528e9b 100644 (file)
@@ -7,6 +7,3 @@
 # E701: Multiple statements on one line (colon)
 # W503: line break before binary operator
 ignore = E203,E501,E701,W503
-
-[isort]
-profile = black