Skip to content

add new forbid-empty-files hook#836

Closed
antonag32 wants to merge 0 commit intopre-commit:mainfrom
antonag32:main
Closed

add new forbid-empty-files hook#836
antonag32 wants to merge 0 commit intopre-commit:mainfrom
antonag32:main

Conversation

@antonag32
Copy link
Copy Markdown

As previously discussed in #834, this hook prevents empty files from being committed. It works out of the box and is compatible with python projects since __init__.py are excluded by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant