add ignore file and precommit

This commit is contained in:
Michael Duong 2023-09-09 09:51:32 +00:00
parent fb81191ec8
commit dc20c42419
3 changed files with 25 additions and 1 deletions

View file

@ -1 +1,12 @@
# Pre commit hooks
# Pre commit hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black

1
modules/ml-pipeline/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.dev_env/

View file

@ -0,0 +1,12 @@
# Pre commit hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black