add new forbid-empty-files hook by antonag32 · Pull Request #836 · pre-commit/pre-commit-hooks · GitHub
Skip to content

add new forbid-empty-files hook - #836

Closed
antonag32 wants to merge 0 commit into
pre-commit:mainfrom
antonag32:main
Closed

antonag32 wants to merge 0 commit into
pre-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