Skip to content

Commit 449dfb0

Browse files
committed
cookiecutter-pypackage Fix for PyCQA/pydocstyle#363
1 parent 5798008 commit 449dfb0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cookiecutter-pypackage/{{cookiecutter.repository_name}}/.pre-commit-config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ repos:
1515
rev: 6.1.1
1616
hooks:
1717
- id: pydocstyle
18+
additional_dependencies: [toml]
19+
files: ^(?!tests)

cookiecutter-pypackage/{{cookiecutter.repository_name}}/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ profile = 'black'
66
line_length = 119
77

88
[tool.pydocstyle]
9-
match-dir = '(?!tests).*'
9+
match_dir = '(?!tests).*'
1010
ignore = 'D100,D104,D200,D203,D205,D212,D400,D415'

0 commit comments

Comments
 (0)