meta: add hatch fmt to check script
This commit is contained in:
parent
f73cee3684
commit
fb45c2177b
|
@ -64,8 +64,15 @@ description = "default development environment"
|
||||||
dependencies = ["mypy", "isort"]
|
dependencies = ["mypy", "isort"]
|
||||||
|
|
||||||
[tool.hatch.envs.default.scripts]
|
[tool.hatch.envs.default.scripts]
|
||||||
check = ["- mypy *.py", "- isort --check surplus"]
|
check = [
|
||||||
format = ["hatch fmt -f", "isort surplus"]
|
"mypy *.py",
|
||||||
|
"hatch fmt --check",
|
||||||
|
"isort --check surplus"
|
||||||
|
]
|
||||||
|
format = [
|
||||||
|
"hatch fmt -f",
|
||||||
|
"isort surplus"
|
||||||
|
]
|
||||||
|
|
||||||
[tool.hatch.envs.docs]
|
[tool.hatch.envs.docs]
|
||||||
detached = true
|
detached = true
|
||||||
|
|
Loading…
Reference in a new issue