move isort configuration to pyproject.toml instead of passing it in command line usage in tox.ini, this allows isort usage with editors to pick the right configuration without manually tweaking it in the editors

This commit is contained in:
adbenitez
2022-06-09 04:24:28 -04:00
parent d286872782
commit e334b781fb
2 changed files with 4 additions and 1 deletions

View File

@@ -9,3 +9,6 @@ git_describe_command = "git describe --dirty --tags --long --match py-*.*"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"

View File

@@ -42,7 +42,7 @@ deps =
pygments
restructuredtext_lint
commands =
isort --check --profile black src/deltachat examples/ tests/
isort --check src/deltachat examples/ tests/
black --check src/deltachat examples/ tests/
flake8 src/deltachat
flake8 tests/ examples/