mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
add ignore file and precommit
This commit is contained in:
parent
fb81191ec8
commit
dc20c42419
3 changed files with 25 additions and 1 deletions
|
|
@ -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
1
modules/ml-pipeline/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
.dev_env/
|
||||
12
modules/ml-pipeline/.pre-commit-config.yaml
Normal file
12
modules/ml-pipeline/.pre-commit-config.yaml
Normal 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
|
||||
Loading…
Add table
Reference in a new issue