From 59a0b37a1a88d7efd05b0bc36f589bc4341eab9e Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Fri, 17 Jan 2025 07:30:54 -0800 Subject: [PATCH] fix: remove `check-docstring-first` pre-commit check (#1531) 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: https://github.com/pre-commit/pre-commit-hooks/issues/159 --- .pre-commit-config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e3dc04bde3..66f830e2b8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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