-
Notifications
You must be signed in to change notification settings - Fork 121
Fix Typos And Add Typos Pre-Commit Hook #655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
thanks for nice PR! could you please run make format |
|
I got after running and got as output the following: Unrelated: I am unaccustomed to using |
|
Note If you retain |
|
looking at the number of files that changes, i think you might be running a different version of ruff. we currently use we have pre-commit configured to run |
|
Okay, sounds good. I will revert the ruff format commit and run ruff format with the correct version at some point soon. |
|
thanks! should be all good to merge when ci passes |
|
if you want to add this, it would be nice to also run the same check in ci :) |
This reverts commit e704b89.
|
Commands used in reformating:
|
|
https://github.com/PyLabRobot/pylabrobot/actions/runs/17031151408/job/48275310949?pr=655 seems pre-commit is not found in ci, it needs to be installed explicitly tbh, i am not a huge fan of ci relying on pre-commit as infrastructure. imo it would be better to have a pre-commit independent command (similar to how other commands are shared in pre-commit/ci/user level through the Makefile). but perhaps this typos library is pre-commit/ci specific? happy to hear your thoughts on this |
49a6770 to
159fd78
Compare
|
Apologies for the laggardness on this; I partially forgot about it until it re-hit my notifactions today. Thank you for being supportive and best wishes with this repository and your future work! |
|
thank you for making the PR! makes everything look more polished and presentable, especially in public facing docs. and apologies also for slow responses on my side :) |
|
This is amazing; thank you for this!!! |
This PR:
pylabrobotrepository.pre-commithooktyposto thepre-commit-config.yamlfile.typospre-commithook.Context:
typospre-commithook in.pre-commit-config.yaml_typos.tomlin rootpre-commit run --all-filesand finding false positives_typos.tomland re-runningpre-commit run --all-filestypospre-commit hook outputErrors Found With Typos Pre-Commit Hook