From cf2fcfbacc5dd1d8fb0527e7cee76331b167ebd2 Mon Sep 17 00:00:00 2001 From: shmyga Date: Thu, 27 Jul 2023 20:51:04 +0300 Subject: [PATCH] fix: add "--profile black" option to python isort formatter --- project_manager/preset/default/python.toml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project_manager/preset/default/python.toml b/project_manager/preset/default/python.toml index e763541..213e86f 100644 --- a/project_manager/preset/default/python.toml +++ b/project_manager/preset/default/python.toml @@ -36,7 +36,7 @@ commands = [".venv/bin/isort --profile black --check-only ./"] [presets.python.tasks.format.isort] conditions = ["file(.venv/bin/isort)"] -commands = [".venv/bin/isort ./"] +commands = [".venv/bin/isort --profile black ./"] [presets.python.tasks.lint.black] conditions = ["file(.venv/bin/black)"] diff --git a/pyproject.toml b/pyproject.toml index d766f77..b1b90ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "project-manager" -version = "0.1.4" +version = "0.1.5" description = "" authors = ["shmyga "] readme = "README.md"