codespell-project / actions-codespell

MIT License
74 stars 19 forks source link

Add support for reading codespell config from pyproject.toml #54

Closed cclauss closed 1 year ago

cclauss commented 2 years ago

codespell's latest release adds support for reading its configuration from pyproject.toml if tomli or tomllib are present. The latter is in the Standard Library of Python >= 3.11.

larsoner commented 2 years ago

As part of this we probably need to add try/except or Python-version triage in our code to use tomllib for 3.11 as well. Until then I think we do in practice require tomli, even on 3.11. So we should wait for the PR to add tomllib + 3.11 support in codespell before merging this I think

cclauss commented 1 year ago

Closed in favor of #60