Skip to content

Commit cb8cc7c

Browse files
committed
deprecate check-docstring-first without replacement
this hook has unfixable false positives and is not that useful perhaps someone can write a flake8 plugin to replace the functionality
1 parent e5e94e8 commit cb8cc7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
entry: check-case-conflict
3030
language: python
3131
- id: check-docstring-first
32-
name: check docstring is first
32+
name: check docstring is first (deprecated)
3333
description: checks a common error of defining a docstring after code.
3434
entry: check-docstring-first
3535
language: python

0 commit comments

Comments
 (0)