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 <simon.marchi@efficios.com>
This commit is contained in:
Tom Tromey
2025-09-17 09:36:45 -06:00
parent d654421dc2
commit 727ee2e293
2 changed files with 3 additions and 3 deletions

View File

@@ -3,3 +3,6 @@ include = "\\.py(\\.in)?$"
[tool.pyright]
typeCheckingMode = "strict"
[tool.isort]
profile = "black"

View 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