From 4a2e5394b355af0f5d086f5135fc9ca6a100112f Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 5 Feb 2025 16:08:53 -0500 Subject: [PATCH 1/2] Move codespell config into pyproject.toml (less files is better) --- .codespellrc | 4 ---- pyproject.toml | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) delete mode 100644 .codespellrc diff --git a/.codespellrc b/.codespellrc deleted file mode 100644 index ead154ef..00000000 --- a/.codespellrc +++ /dev/null @@ -1,4 +0,0 @@ -[codespell] -skip = .venv,venvs,.git,build,*.egg-info,*.lock,.asv,.mypy_cache,.tox,fixtures,_version.py,*.pem,versioneer.py -# ignore-words-list = -# exclude-file = diff --git a/pyproject.toml b/pyproject.toml index f671f356..09740b41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,9 @@ [build-system] requires = ["setuptools >= 43.0.0", "wheel"] + +[tool.codespell] +# Ref: https://github.com/codespell-project/codespell#using-a-config-file +skip = '.venv,venvs,.git,build,*.egg-info,*.lock,.asv,.mypy_cache,.tox,fixtures,_version.py,*.pem,versioneer.py' +check-hidden = true +# ignore-regex = +# ignore-words-list = From e965f80db60815cdbef43e2928f596903b4410b2 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 5 Feb 2025 16:11:29 -0500 Subject: [PATCH 2/2] [DATALAD RUNCMD] run codespell throughout fixing few left typos automagically === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 61b1f264..a2a82454 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -45,7 +45,7 @@ # respective CI run configuration). -# do not make repository clone cheap: interfers with versioneer +# do not make repository clone cheap: interferes with versioneer shallow_clone: false