mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
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:
@@ -9,3 +9,6 @@ git_describe_command = "git describe --dirty --tags --long --match py-*.*"
|
||||
|
||||
[tool.black]
|
||||
line-length = 120
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user