Skip to content

Comments

chore: add codespell support (config, workflow to detect/not fix) and make it fix some typos#275

Open
yarikoptic wants to merge 7 commits intosnap-stanford:mainfrom
yarikoptic:enh-codespell
Open

chore: add codespell support (config, workflow to detect/not fix) and make it fix some typos#275
yarikoptic wants to merge 7 commits intosnap-stanford:mainfrom
yarikoptic:enh-codespell

Conversation

@yarikoptic
Copy link

More about codespell: https://github.com/codespell-project/codespell .

I personally introduced it to dozens if not hundreds of projects already and so far only positive feedback.

CI workflow has 'permissions' set only to 'read' so also should be safe.

Fixed ambiguous typos:
- seach -> search (biomni/tool/literature.py:190) - docstring example
- respons -> response (tutorials/biomni_101.ipynb:778) - truncated table cell
- checkpoin -> checkpoint (tutorials/biomni_101.ipynb:771) - truncated table cell
Fixed typos automatically:
- succint -> succinct (biomni/utils.py:273)
- becuase -> because (biomni/utils.py:687)
- softwares -> software (biomni/agent/a1.py:1100, 1128)
- arugments -> arguments (biomni/tool/genomics.py:77)
- referece -> reference (biomni/tool/genomics.py:867)
- re-used -> reused (protocol file)
- heterogenous -> heterogeneous (protocol file)
- useable -> usable (protocol file)
- tendancy -> tendency (protocol file)
- homogenous -> homogeneous (protocol file)
- softwares -> software (biomni_env/README.md:12)
- Automaticlly -> Automatically (biomni_env/bio_env_py310.yml:14)
- isses -> issues (biomni_env/new_software_v008.sh:13)

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "uvx codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant