Skip to content

Instantly share code, notes, and snippets.

@asierrayk
Created May 11, 2020 09:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asierrayk/4af772c03e35f7348510957e75bcf2ab to your computer and use it in GitHub Desktop.
Save asierrayk/4af772c03e35f7348510957e75bcf2ab to your computer and use it in GitHub Desktop.
# https://github.com/PyCQA/pydocstyle/blob/master/docs/snippets/pre_commit.rst
- repo: https://github.com/pycqa/pydocstyle
rev: 5.0.2 # pick a git hash / tag to point to
hooks:
- id: pydocstyle
# https://github.com/PyCQA/pydocstyle/blob/master/docs/snippets/cli.rst
args:
- --convention=google
# http://www.pydocstyle.org/en/5.0.1/error_codes.html
- |-
--add-ignore=
D100,
D102,
D101,
D107,
D105,
D103,
D104,
D415,
D205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment