Skip to content

Commit 94cabbe

Browse files
committed
chore: add back autodoc and .cc and .h skips for codespell
1 parent 511fc9f commit 94cabbe

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
"m2r2",
5656
]
5757

58+
autodoc_mock_imports = [
59+
"diffpy.pdffit2.pdffit2",
60+
]
61+
5862
# Add any paths that contain templates here, relative to this directory.
5963
templates_path = ["_templates"]
6064

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies = {file = ["requirements/pip.txt"]}
5757
[tool.codespell]
5858
exclude-file = ".codespell/ignore_lines.txt"
5959
ignore-words = ".codespell/ignore_words.txt"
60-
skip = "*.cif,*.dat"
60+
skip = "*.cif,*.dat,*.cc,*.h"
6161

6262
[tool.docformatter]
6363
recursive = true

0 commit comments

Comments
 (0)