Skip to content

Commit 3bd0e46

Browse files
author
Michael Brewer
authored
build(pre-commit): Add pre-commit to make pr (#368)
1 parent 7c9a319 commit 3bd0e46

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ test:
2323
coverage-html:
2424
poetry run pytest -m "not perf" --cov=aws_lambda_powertools --cov-report=html
2525

26-
pr: lint test security-baseline complexity-baseline
26+
pre-commit:
27+
pre-commit run --show-diff-on-failure
28+
29+
pr: lint pre-commit test security-baseline complexity-baseline
2730

2831
build: pr
2932
poetry build

0 commit comments

Comments
 (0)