Skip to content

Commit

Permalink
Updates to default files definition based on PR feedback
Browse files Browse the repository at this point in the history
Precommit-Verified: 9d579580e301251de15ecf6a4f52782eafd4bad437019e902bb2f1969bb5d051
  • Loading branch information
fortman committed Mar 18, 2019
1 parent 75824b1 commit 41c2800
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
description: Check prometheus config files
language: docker_image
entry: --entrypoint /bin/promtool prom/prometheus:latest
files: >
(?x)^(
""
)$
files: ^$
args:
- check
- config
Expand All @@ -18,10 +15,7 @@
description: Check prometheus rule files
language: docker_image
entry: --entrypoint /bin/promtool prom/prometheus:latest
files: >
(?x)^(
""
)$
files: ^$
args:
- check
- rules

0 comments on commit 41c2800

Please sign in to comment.