Skip to content

Commit

Permalink
[ADD] adds new hook: prevents files from having whitespaces in their …
Browse files Browse the repository at this point in the history
…name
  • Loading branch information
maneandrea committed Aug 7, 2024
1 parent 3359d98 commit dc06ea8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ repos:
# - --fix
- repo: local
hooks:
- id: no-whitespace-filename
name: file names cannot contain whitespaces
entry: files cannot contain whitespaces in their names
language: fail
files: '.*\s.*'
- id: vx-check-deactivate
name: deactivate.jinja syntax check.
description: Validate deactivate.jinja files' syntax.
Expand Down

0 comments on commit dc06ea8

Please sign in to comment.