What I tried:
backend/pyproject.toml
[tool.codespell]
ignore-words-list = "foo,pipapo"
skip = "*.po,*.min.js,data.json"
Generated using Cookieplone (0.8.4) and cookieplone-templates (4ef2c3b) on 2025-03-17 12:07:04.565779.
What I tried:
backend/pyproject.toml
[tool.codespell]
ignore-words-list = "foo,pipapo"
skip = "*.po,*.min.js,data.json"
Generated using Cookieplone (0.8.4) and cookieplone-templates (4ef2c3b) on 2025-03-17 12:07:04.565779.
I think you have to say */data.json
because it matched the path of the file.
Yes, that's it!
So, to exclude also example content from codespell checks, this change does it:
backend/pyproject.toml
:
[tool.codespell]
ignore-words-list = "foo,pipapo"
skip = "*.po,*.min.js,*/data.json"
Thank you @petschki !