Skip to content

Commit 9551d3a

Browse files
authored
Lint check in CI (aws#281)
See PR aws#250
1 parent 4735754 commit 9551d3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/buildspec.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ phases:
1616
- sudo apt-get update
1717
- sudo apt-get install unzip
1818
- cd $CODEBUILD_SRC_DIR && chmod +x config/protoc_downloader.sh && ./config/protoc_downloader.sh
19-
- pip install pytest wheel pyYaml pytest-html tensorflow==1.14.0 mxnet torch xgboost
19+
- pip install pytest wheel pyYaml pytest-html tensorflow==1.14.0 mxnet torch xgboost pre-commit
2020
- pip uninstall -y boto3 && pip uninstall -y aiobotocore && pip uninstall -y botocore
2121

2222
pre_build:
2323
commands:
24+
- cd $CODEBUILD_SRC_DIR && pre-commit install && pre-commit run --all-files
2425

2526
build:
2627
commands:

0 commit comments

Comments
 (0)