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
This commit is contained in:
anthony sottile 2025-11-22 15:09:09 -05:00
parent f4e025486b
commit d2cf95b9cf
2 changed files with 3 additions and 4 deletions

View file

@ -29,7 +29,7 @@
entry: check-case-conflict
language: python
- id: check-docstring-first
name: check docstring is first
name: check docstring is first (deprecated)
description: checks a common error of defining a docstring after code.
entry: check-docstring-first
language: python