Skip to content

Commit ac1e9d7

Browse files
committed
Move where doc8 config is.
1 parent 6ecfcfb commit ac1e9d7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@ def docs_style(session):
112112
"pygments",
113113
"pygments-github-lexers",
114114
)
115-
session.run("python", "-m", "doc8", "--max-line-length", "1000", DOCS)
115+
session.run("python", "-m", "doc8", "--config", PYPROJECT, DOCS)

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ dynamic_context = "test_function"
5050
[tool.coverage.report]
5151
fail_under = 100
5252

53+
[tool.doc8]
54+
ignore = [
55+
"D001", # one sentence per line, so max length doesn't make sense
56+
]
57+
5358
[tool.isort]
5459
combine_as_imports = true
5560
from_first = true

0 commit comments

Comments
 (0)