Skip to content

Commit

Permalink
Add DVC hooks and large-file check (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiptuned authored Aug 4, 2023
1 parent 22bb515 commit 4c35c80
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions generators/app/templates/common/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-added-large-files

- repo: local
hooks:
- id: black
Expand Down Expand Up @@ -61,3 +63,15 @@ repos:
language: system
stages: [ commit ]
<% } -%>
<% if (includeDvc) { -%>
- id: dvc-pre-push
name: DVC pre-push
entry: dvc
args:
- git-hook
- pre-push
require_serial: true
verbose: true
language: system
stages: [push]
<% } -%>

0 comments on commit 4c35c80

Please # to comment.