Skip to content

Commit

Permalink
fix: remove check-docstring-first pre-commit check (apache#1531)
Browse files Browse the repository at this point in the history
This check gives false positives on attribute docstrings with warnings
such as:

- "Multiple module docstrings (first docstring on line N)", or
- "Module docstring appears after code (code seen on line N)"

For details, see:

pre-commit/pre-commit-hooks#159
  • Loading branch information
rodrigc authored Jan 17, 2025
1 parent 818cd15 commit 59a0b37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ repos:
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: debug-statements
- id: check-yaml
- id: check-ast
Expand Down

0 comments on commit 59a0b37

Please sign in to comment.