add lint-format
This commit is contained in:
parent
e8686a2c66
commit
a6ecb8240c
1 changed files with 13 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ build-backend = "hatchling.build"
|
|||
[tool.hatch.build.targets.sdist]
|
||||
exclude = ["/.github"]
|
||||
|
||||
[tool.hatch.build.targets.binary]
|
||||
|
||||
[project]
|
||||
name = "krayt"
|
||||
dynamic = ["version"]
|
||||
|
|
@ -54,3 +56,14 @@ path = "krayt/__about__.py"
|
|||
|
||||
[project.scripts]
|
||||
krayt = "krayt.cli:app"
|
||||
|
||||
[tool.hatch.envs.default]
|
||||
dependencies = [
|
||||
"ruff",
|
||||
"pyinstrument",
|
||||
]
|
||||
|
||||
[tool.hatch.envs.default.scripts]
|
||||
lint = "ruff check krayt"
|
||||
format = "ruff format krayt"
|
||||
lint-format = ['lint', 'format']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue