Closed schwehr closed 1 year ago
I keep having this happen and I'd like to add this to a number of open source projects. Any chance someone could spot what I'm doing wrong with suppressing known weird words? https://github.com/schwehr/earthengine-catalog/blob/codespell/.github/workflows/codespell.yml ?
Run codespell-project/actions-codespell@master /usr/bin/docker run --name ec39d3[5](https://github.com/schwehr/earthengine-catalog/actions/runs/3803822601/jobs/6470508769#step:4:6)adf[6](https://github.com/schwehr/earthengine-catalog/actions/runs/3803822601/jobs/6470508769#step:4:7)545898b2dcdc020e27dda_f5e7d4 --label 290506 --workdir /github/workspace --rm -e "INPUT_IGNORE_WORDS_LIST" -e "INPUT_CHECK_FILENAMES" -e "INPUT_CHECK_HIDDEN" -e "INPUT_EXCLUDE_FILE" -e "INPUT_SKIP" -e "INPUT_BUILTIN" -e "INPUT_IGNORE_WORDS_FILE" -e "INPUT_URI_IGNORE_WORDS_LIST" -e "INPUT_PATH" -e "INPUT_ONLY_WARN" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/earthengine-catalog/earthengine-catalog":"/github/workspace" 290506:ec39d35adf6545898b2dcdc020e27dda Running codespell on '' with the following options... Check filenames? '' Check hidden? '' Exclude file '' Skipping './.git' Builtin dictionaries '' Ignore words file '' Ignore words list 'Ake,ALOS,DOAS,Fallow,GES,ISTS,Markey,METDATA,nd,NED,Ot,pervious,PRES,REGIO,ro,Ser,vas,waterMask,Wich' Ignore URI words list '' Resulting CLI options --skip ./.git --ignore-words-list Ake,ALOS,DOAS,Fallow,GES,ISTS,Markey,METDATA,nd,NED,Ot,pervious,PRES,REGIO,ro,Ser,vas,waterMask,Wich Error: ./examples/JAXA_ALOS_PALSAR_YEARLY_FNF4.js:1: ALOS ==> ALSO Error: ./examples/JAXA_ALOS_PALSAR_YEARLY_SAR_EPOCH.js:1: ALOS ==> ALSO Error: ./examples/JAXA_ALOS_AW3D30_V1_1.js:1: ALOS ==> ALSO Error: ./examples/JAXA_ALOS_AW3D30_V2_2.js:1: ALOS ==> ALSO Error: ./examples/JAXA_ALOS_AVNIR-2_ORI.js:1: ALOS ==> ALSO Error: ./examples/JAXA_ALOS_PALSAR-2_Level2_2_ScanSAR.js:1: ALOS ==> ALSO Error: ./examples/JAXA_ALOS_PALSAR_YEARLY_SAR.js:1: ALOS ==> ALSO Error: ./examples/MODIS_006_MOD44W.js:3: waterMask ==> watermark Error: ./examples/MODIS_006_MOD44W.js:10: waterMask ==> watermark Error: ./examples/JAXA_ALOS_PALSAR_YEARLY_FNF.js:1: ALOS ==> ALSO [SNIP]
Making all the words lower case made it work. I'd like to only ignore things with those specific cases, but this is pretty good.
https://github.com/schwehr/earthengine-catalog/blob/0d82298caa1332a8c0aa1469241b9563dbea2422/.github/workflows/codespell.yml
I keep having this happen and I'd like to add this to a number of open source projects. Any chance someone could spot what I'm doing wrong with suppressing known weird words? https://github.com/schwehr/earthengine-catalog/blob/codespell/.github/workflows/codespell.yml ?