regro / regolith

Research Group Content Managment System
http://regro.github.io/regolith-docs/
Other
15 stars 71 forks source link

Address codespell spelling suggestions #1185

Open bobleesj opened 3 weeks ago

bobleesj commented 3 weeks ago

Problem

Running pre-commit gives:

CHANGELOG.rst:317: explict ==> explicit
CHANGELOG.rst:437: wieght ==> weight
CHANGELOG.rst:468: inheret ==> inherit
CHANGELOG.rst:574: Rever ==> Revert, Refer, Fever
doc/source/commands/ingest.rst:14: infered ==> inferred
src/regolith/builders/coabuilder.py:5: monts ==> months, mounts, mints
src/regolith/builders/coabuilder.py:256: instituion ==> institution
src/regolith/emailer.py:42: approriate ==> appropriate
src/regolith/emailer.py:43: Attachements ==> Attachments
src/regolith/helpers/l_progressreporthelper.py:35: stati ==> statuses, state
src/regolith/broker.py:26: docment ==> document
src/regolith/fsclient.py:232: collaction ==> collection
src/regolith/fsclient.py:236: iteratable ==> iterable
src/regolith/helpers/l_milestoneshelper.py:75: stati ==> statuses, state
src/regolith/helpers/l_milestoneshelper.py:134: stati ==> statuses, state
src/regolith/helpers/l_milestoneshelper.py:167: stati ==> statuses, state
src/regolith/helpers/l_milestoneshelper.py:168: stati ==> statuses, state
src/regolith/helpers/l_milestoneshelper.py:170: stati ==> statuses, state
src/regolith/helpers/l_milestoneshelper.py:172: stati ==> statuses, state
src/regolith/helpers/l_milestoneshelper.py:182: stati ==> statuses, state
doc/source/collections/people.rst:123: programer ==> programmer
doc/source/collections/people.rst:265: programer ==> programmer
doc/source/database_maintenance/mongo_maintenance.rst:50: Congradulations ==> Congratulations
src/regolith/client_manager.py:100: collaction ==> collection
src/regolith/client_manager.py:106: iteratable ==> iterable
src/regolith/runcontrol.py:185: convertor ==> converter
src/regolith/runcontrol.py:192: convertor ==> converter
src/regolith/runcontrol.py:194: convertor ==> converter
src/regolith/runcontrol.py:195: convertor ==> converter
src/regolith/runcontrol.py:251: detemine ==> determine
src/regolith/sorters.py:143: programer ==> programmer
src/regolith/tests/test_tools.py:403: nd ==> and, 2nd
src/regolith/tests/test_tools.py:2805: nd ==> and, 2nd
src/regolith/tests/test_tools.py:2810: nd ==> and, 2nd
src/regolith/tests/test_tools.py:2823: nd ==> and, 2nd
src/regolith/tests/test_tools.py:2827: nd ==> and, 2nd
doc/source/collections/citations.rst:28: Ond ==> One, And
doc/source/collections/citations.rst:69: Ond ==> One, And
doc/source/commands/classlist.rst:10: operatation ==> operation
src/regolith/helpers/a_projectumhelper.py:236: preferrable ==> preferable
src/regolith/helpers/a_projectumhelper.py:584: mispellings ==> misspellings
src/regolith/helpers/a_projectumhelper.py:696: alllowed ==> allowed
src/regolith/helpers/a_projectumhelper.py:834: doesnt ==> doesn't, does not
src/regolith/helpers/l_todohelper.py:26: STATI ==> STATUSES, STATE
src/regolith/helpers/l_todohelper.py:60: stati ==> statuses, state
src/regolith/helpers/l_todohelper.py:142: stati ==> statuses, state
src/regolith/helpers/l_todohelper.py:143: stati ==> statuses, state
src/regolith/helpers/l_todohelper.py:191: stati ==> statuses, state
src/regolith/helpers/l_todohelper.py:191: stati ==> statuses, state
src/regolith/helpers/l_todohelper.py:200: STATI ==> STATUSES, STATE
src/regolith/helpers/l_todohelper.py:209: STATI ==> STATUSES, STATE
src/regolith/helpers/l_todohelper.py:225: stati ==> statuses, state
src/regolith/helpers/l_todohelper.py:225: STATI ==> STATUSES, STATE
src/regolith/helpers/l_todohelper.py:226: stati ==> statuses, state
src/regolith/helpers/l_todohelper.py:227: stati ==> statuses, state
src/regolith/helpers/l_todohelper.py:231: stati ==> statuses, state
src/regolith/commands.py:12: dploy ==> deploy
src/regolith/commands.py:162: dploy ==> deploy
src/regolith/dates.py:353: daty ==> data, date
src/regolith/dates.py:354: daty ==> data, date
src/regolith/helpers/u_todohelper.py:53: stati ==> statuses, state
src/regolith/helpers/u_todohelper.py:221: stati ==> statuses, state
src/regolith/helpers/u_todohelper.py:222: stati ==> statuses, state
src/regolith/helpers/u_todohelper.py:230: stati ==> statuses, state
src/regolith/helpers/u_todohelper.py:230: stati ==> statuses, state
src/regolith/tools.py:600: pres ==> press
src/regolith/tools.py:601: pres ==> press
src/regolith/tools.py:615: pres ==> press
src/regolith/tools.py:617: pres ==> press
src/regolith/tools.py:618: pres ==> press
src/regolith/tools.py:619: pres ==> press
src/regolith/tools.py:621: pres ==> press
src/regolith/tools.py:622: pres ==> press
src/regolith/tools.py:623: pres ==> press
src/regolith/tools.py:626: pres ==> press
src/regolith/tools.py:627: pres ==> press
src/regolith/tools.py:628: pres ==> press
src/regolith/tools.py:630: pres ==> press
src/regolith/tools.py:632: pres ==> press
src/regolith/tools.py:636: pres ==> press
src/regolith/tools.py:637: pres ==> press
src/regolith/tools.py:638: pres ==> press
src/regolith/tools.py:640: pres ==> press
src/regolith/tools.py:642: pres ==> press
src/regolith/tools.py:647: pres ==> press
src/regolith/tools.py:648: pres ==> press
src/regolith/tools.py:651: pres ==> press
src/regolith/tools.py:670: pres ==> press
src/regolith/tools.py:671: pres ==> press
src/regolith/tools.py:672: pres ==> press
src/regolith/tools.py:673: pres ==> press
src/regolith/tools.py:675: pres ==> press
src/regolith/tools.py:676: pres ==> press
src/regolith/tools.py:677: pres ==> press
src/regolith/tools.py:678: pres ==> press
src/regolith/tools.py:679: pres ==> press
src/regolith/tools.py:681: pres ==> press
src/regolith/tools.py:682: pres ==> press
src/regolith/tools.py:685: pres ==> press
src/regolith/tools.py:685: pres ==> press
src/regolith/tools.py:687: pres ==> press
src/regolith/tools.py:688: pres ==> press
src/regolith/tools.py:689: pres ==> press
src/regolith/tools.py:689: pres ==> press
src/regolith/tools.py:691: pres ==> press
src/regolith/tools.py:697: pres ==> press
src/regolith/tools.py:971: nd ==> and, 2nd
src/regolith/tools.py:973: Paramters ==> Parameters
src/regolith/tools.py:981: nd ==> and, 2nd
src/regolith/tools.py:988: nd ==> and, 2nd
src/regolith/tools.py:1198: thta ==> that
src/regolith/tools.py:1889: stati ==> statuses, state
src/regolith/tools.py:1897: stati ==> statuses, state
src/regolith/tools.py:1901: stati ==> statuses, state
src/regolith/tools.py:1924: stati ==> statuses, state
src/regolith/tools.py:2214: distination ==> destination, distinction
doc/source/collections/beamplan.rst:60: subtrate ==> substrate
doc/source/collections/beamplan.rst:73: subtrate ==> substrate
doc/source/collections/beamplan.rst:100: subtrate ==> substrate
doc/source/collections/beamplan.rst:115: subtrate ==> substrate
src/regolith/helper.py:55: databses ==> databases
src/regolith/schemas.py:164: comming ==> coming
doc/source/rc.rst:114: coorespond ==> correspond
doc/source/rc.rst:131: Sting ==> String
src/regolith/helpers/attestationshelper.py:89: preferrably ==> preferably
src/regolith/main.py:58: infered ==> inferred
src/regolith/tests/test_builders.py:152: genereated ==> generated
src/regolith/tests/test_builders.py:283: genereated ==> generated
src/regolith/helpers/f_todohelper.py:136: stati ==> statuses, state

Proposed solution

If it is a spelling mistake, fix.

Otherwise, ignore the word/line by following the instructions in Step 13. under 1. Pre-commit workflow here: https://github.com/Billingegroup/cookiecutter/blob/main/README.md