Skip to content

Commit 4b10c93

Browse files
zastrowmUnshure
andauthored
fix: Update prepare to use format instead of test-format (#858)
`hatch run prepare` should prep all the files to ensure it's ready for a PR, so switch it to format files instead of testing the format. Otherwise it just quits with output of the files that need to be formatted --------- Co-authored-by: Mackenzie Zastrow <zastrowm@users.noreply.github.com> Co-authored-by: Nick Clegg <nac542@gmail.com>
1 parent a36255d commit 4b10c93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ test = "hatch test {args}"
169169
test-integ = "hatch test tests_integ {args}"
170170

171171
prepare = [
172-
"hatch run test-format",
172+
"hatch run format",
173+
"hatch run lint",
173174
"hatch run test-lint",
174175
"hatch test --all"
175176
]

0 commit comments

Comments
 (0)