mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Make isort compatible with Black
The isort tool is not compatible with Black by default. This leads to a tug of war between these tools, when we run `make lint-apply` -> `make lint`. Fix this by forcing isort to be compatible with Black.
This commit is contained in:
parent
81811e0aac
commit
9768714b4a
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@ pytest-qt = "^4.2.0"
|
||||||
pytest-cov = "^3.0.0"
|
pytest-cov = "^3.0.0"
|
||||||
strip-ansi = "*"
|
strip-ansi = "*"
|
||||||
|
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry>=1.1.4"]
|
requires = ["poetry>=1.1.4"]
|
||||||
build-backend = "poetry.masonry.api"
|
build-backend = "poetry.masonry.api"
|
||||||
|
|
Loading…
Reference in a new issue