mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-09 21:04:17 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
8255d780c5
commit
ff3abecf93
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ Check for files with names that would conflict on a case-insensitive filesystem
|
||||||
#### `check-docstring-first`
|
#### `check-docstring-first`
|
||||||
Checks for a common error of placing code before the docstring.
|
Checks for a common error of placing code before the docstring.
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> As raised in [#159](https://github.com/pre-commit/pre-commit-hooks/issues/159) attribute level docstrings will
|
> As raised in [#159](https://github.com/pre-commit/pre-commit-hooks/issues/159) attribute level docstrings will
|
||||||
> be flagged by this. A basic workaround is to wrap the docstring with `()` which will bypass this throwing and
|
> be flagged by this. A basic workaround is to wrap the docstring with `()` which will bypass this throwing and
|
||||||
> error, but could interfere with other libraries that parse them.
|
> error, but could interfere with other libraries that parse them.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue