From: Tom Tromey Date: Wed, 17 Sep 2025 15:36:45 +0000 (-0600) Subject: Move isort config to pyproject.toml X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=727ee2e293d504d687796ab871a7215a10d086d9;p=thirdparty%2Fbinutils-gdb.git Move isort config to pyproject.toml 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 --- diff --git a/gdb/pyproject.toml b/gdb/pyproject.toml index 4469f1cd61d..144c48947ee 100644 --- a/gdb/pyproject.toml +++ b/gdb/pyproject.toml @@ -3,3 +3,6 @@ include = "\\.py(\\.in)?$" [tool.pyright] typeCheckingMode = "strict" + +[tool.isort] +profile = "black" diff --git a/gdb/setup.cfg b/gdb/setup.cfg index d33058ea7f0..2e83eb5cf56 100644 --- a/gdb/setup.cfg +++ b/gdb/setup.cfg @@ -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