mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Merge pull request #22 from guykisel/check-case-conflict
Add check_case_conflict hook
This commit is contained in:
commit
9b830ad92e
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