mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 04:34:16 +00:00
Add check_case_conflict hook #21
This commit is contained in:
parent
b08f834d65
commit
c682b50749
11 changed files with 173 additions and 20 deletions
|
|
@ -12,6 +12,13 @@
|
|||
language: python
|
||||
# Match all files
|
||||
files: ''
|
||||
- id: check-case-conflict
|
||||
name: Check for case conflicts
|
||||
description: Check for files that would conflict in case-insensitive filesystems
|
||||
entry: check-case-conflict
|
||||
language: python
|
||||
# Match all files
|
||||
files: ''
|
||||
- id: check-docstring-first
|
||||
name: Check docstring is first
|
||||
description: Checks a common error of defining a docstring after code.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue