diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b63e824..34a9b78 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1 +1,12 @@ -# Pre commit hooks \ No newline at end of file +# 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 diff --git a/modules/ml-pipeline/.gitignore b/modules/ml-pipeline/.gitignore new file mode 100644 index 0000000..e4d8729 --- /dev/null +++ b/modules/ml-pipeline/.gitignore @@ -0,0 +1 @@ +.dev_env/ diff --git a/modules/ml-pipeline/.pre-commit-config.yaml b/modules/ml-pipeline/.pre-commit-config.yaml new file mode 100644 index 0000000..34a9b78 --- /dev/null +++ b/modules/ml-pipeline/.pre-commit-config.yaml @@ -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