Style
This commit is contained in:
@@ -72,6 +72,23 @@ cov = [
|
||||
"cov-report",
|
||||
]
|
||||
|
||||
[tool.hatch.envs.style]
|
||||
detached = true
|
||||
dependencies = [
|
||||
"black",
|
||||
"isort",
|
||||
]
|
||||
[tool.hatch.envs.style.scripts]
|
||||
check = [
|
||||
"black --check --diff .",
|
||||
"isort --check-only --diff --profile black --gitignore --lai 2 .",
|
||||
]
|
||||
fmt = [
|
||||
"black .",
|
||||
"isort --profile black --gitignore --lai 2 .",
|
||||
"check",
|
||||
]
|
||||
|
||||
[[tool.hatch.envs.test.matrix]]
|
||||
python = ["3.9", "3.10", "3.11"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user