editorconfig#
Check existence of pre-commit hook for EditorConfig.
If a repository has an .editorconfig
file, it should have an EditorConfig
pre-commit hook.
- main(precommit: ModifiablePrecommit) None [source]#
Check existence of pre-commit hook for EditorConfig.
If a repository has an .editorconfig
file, it should have an EditorConfig
pre-commit hook.