Refactor: run "hatch run style:fmt"

This commit is contained in:
tsukumi
2024-03-12 18:27:08 +00:00
parent e8a76e547b
commit 07d246b98b
3 changed files with 24 additions and 13 deletions

View File

@@ -75,18 +75,18 @@ cov = [
[tool.hatch.envs.style]
detached = true
dependencies = [
"black",
"isort",
"black",
"isort",
]
[tool.hatch.envs.style.scripts]
check = [
"black --check --diff .",
"isort --check-only --diff --profile black --gitignore --lai 2 .",
"black --check --diff .",
"isort --check-only --diff --profile black --gitignore --lai 2 .",
]
fmt = [
"black .",
"isort --profile black --gitignore --lai 2 .",
"check",
"black .",
"isort --profile black --gitignore --lai 2 .",
"check",
]
[[tool.hatch.envs.test.matrix]]