diff --git a/changelog/12769.improvement.rst b/changelog/12769.improvement.rst index c4639371c48..aae4d137a0d 100644 --- a/changelog/12769.improvement.rst +++ b/changelog/12769.improvement.rst @@ -1 +1 @@ -Fix typos discovered by codespell and add codespell to pre-commit hooks. \ No newline at end of file +Fix typos discovered by codespell and add codespell to pre-commit hooks. diff --git a/pyproject.toml b/pyproject.toml index 3603e412610..f501458d673 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,10 +88,6 @@ target-version = [ 'py38', ] -[tool.codespell] -ignore-words-list = "afile,asser,assertio,feld,hove,ned,noes,notin,paramete,parth,socio-economic,tesults,varius,wil" -write-changes = true - [tool.ruff] line-length = 88 src = [ @@ -311,6 +307,10 @@ disable = [ "wrong-import-position", # handled by isort / ruff ] +[tool.codespell] +ignore-words-list = "afile,asser,assertio,feld,hove,ned,noes,notin,paramete,parth,socio-economic,tesults,varius,wil" +write-changes = true + [tool.check-wheel-contents] # check-wheel-contents is executed by the build-and-inspect-python-package action. # W009: Wheel contains multiple toplevel library entries