diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8950e61..ab11542 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,8 +56,7 @@ repos: rev: 7.0.0 hooks: - id: flake8 - ## You can add flake8 plugins via `additional_dependencies`: - # additional_dependencies: [flake8-bugbear] + additional_dependencies: [flake8-docstrings] ## Check for misspells in documentation files: # - repo: https://github.com/codespell-project/codespell diff --git a/setup.cfg b/setup.cfg index ab0bb44..6f245d2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -96,7 +96,7 @@ formats = bdist_wheel [flake8] # Some sane defaults for the code style checker flake8 max_line_length = 130 -extend_ignore = E203, W503, E401, E501, E741, E266 +extend_ignore = E203, W503, E401, E501, E741, E266, D100, D107, D400, D401 # ^ Black-compatible # E203 and W503 have edge cases handled by black exclude =