Skip to content

Commit 3ddfc5e

Browse files
authored
Merge pull request #13 from sanders41/flake8
Adding flake8-docstrings to pre-commit
2 parents 694014a + ee25626 commit 3ddfc5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ repos:
2727
rev: 3.9.2
2828
hooks:
2929
- id: flake8
30-
additional_dependencies: [flake8-print]
30+
additional_dependencies: [flake8-docstrings, flake8-print]
3131
args: ["--ignore=E203,E231,E501,D100,D101,D102,D103,D104,D105,D106,D107,D401"]

meilisearch_python_async/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ def __str__(self) -> str:
4747

4848

4949
class PayloadTooLarge(Exception):
50-
"""Error when the payload is larger than the allowed payload size"""
50+
"""Error when the payload is larger than the allowed payload size."""
5151

5252
pass

0 commit comments

Comments
 (0)