fix: add "--profile black" option to python isort formatter
This commit is contained in:
@@ -36,7 +36,7 @@ commands = [".venv/bin/isort --profile black --check-only ./"]
|
|||||||
|
|
||||||
[presets.python.tasks.format.isort]
|
[presets.python.tasks.format.isort]
|
||||||
conditions = ["file(.venv/bin/isort)"]
|
conditions = ["file(.venv/bin/isort)"]
|
||||||
commands = [".venv/bin/isort ./"]
|
commands = [".venv/bin/isort --profile black ./"]
|
||||||
|
|
||||||
[presets.python.tasks.lint.black]
|
[presets.python.tasks.lint.black]
|
||||||
conditions = ["file(.venv/bin/black)"]
|
conditions = ["file(.venv/bin/black)"]
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "project-manager"
|
name = "project-manager"
|
||||||
version = "0.1.4"
|
version = "0.1.5"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["shmyga <shmyga.z@gmail.com>"]
|
authors = ["shmyga <shmyga.z@gmail.com>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|||||||
Reference in New Issue
Block a user