From 5a73e803f5dad7058002bc4eb4b12c4474e5792a Mon Sep 17 00:00:00 2001 From: AFg6K7h4fhy2 <127630341+AFg6K7h4fhy2@users.noreply.github.com> Date: Sun, 17 Aug 2025 18:06:20 -0400 Subject: [PATCH 01/13] add typos; update pre-commit config --- .pre-commit-config.yaml | 6 +++++- _typos.toml | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 _typos.toml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dc1e43d26b1..e52f86979ca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,4 +6,8 @@ repos: entry: make format language: system files: ^pylabrobot/.*$ - + - repo: https://github.com/crate-ci/typos + rev: v1 + hooks: + - id: typos + args: ["--force-exclude"] \ No newline at end of file diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 00000000000..9aec8dfb838 --- /dev/null +++ b/_typos.toml @@ -0,0 +1,25 @@ +[default] +extend-ignore-identifiers-re = [ + "AttributeID.*Supress.*", +] + +[default.extend-identifiers] +AttributeIDSupressMenu = "AttributeIDSupressMenu" + +[default.extend-words] +# words that should not be corrected +dot_acn = ".acn" +dot_fot = ".fot" +dot_ist = ".ist" +OT = "OT" +ot = "ot" +ser = "ser" +ba = "ba" +nd = "nd" +PN = "PN" +tro = "tro" +COMMAN = "COMMAN" + +[files] +extend-exclude = [ + "*.ipynb"] From 807fc1d7eafcd0485d627c86b99c20504169a656 Mon Sep 17 00:00:00 2001 From: AFg6K7h4fhy2 <127630341+AFg6K7h4fhy2@users.noreply.github.com> Date: Sun, 17 Aug 2025 18:07:32 -0400 Subject: [PATCH 02/13] add typos --- _typos.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_typos.toml b/_typos.toml index 9aec8dfb838..452e0848498 100644 --- a/_typos.toml +++ b/_typos.toml @@ -22,4 +22,5 @@ COMMAN = "COMMAN" [files] extend-exclude = [ - "*.ipynb"] + "*.ipynb" +] From cede27e27b70f6798a07376071fdeb9a5d96fff5 Mon Sep 17 00:00:00 2001 From: AFg6K7h4fhy2 <127630341+AFg6K7h4fhy2@users.noreply.github.com> Date: Sun, 17 Aug 2025 18:24:56 -0400 Subject: [PATCH 03/13] fix spelling errors --- _typos.toml | 5 ++++ docs/resources/index.md | 2 +- docs/resources/library/eppendorf.md | 2 +- docs/resources/library/porvair.md | 2 +- .../hamilton-star/hardware/replacing-iswap.md | 6 ++--- .../hamilton-star/iswap-module.md | 2 +- .../hamilton-star/star_lld.md | 2 +- .../_getting-started/plr-architecture.rst | 2 +- pylabrobot/centrifuge/vspin_backend.py | 2 +- .../backends/hamilton/STAR_backend.py | 22 ++++++++--------- .../backends/hamilton/vantage_backend.py | 4 ++-- .../backends/opentrons_backend.py | 2 +- .../backends/tecan/EVO_backend.py | 24 +++++++++---------- .../liquid_classes/hamilton/star.py | 4 ++-- .../liquid_classes/hamilton/vantage.py | 2 +- .../liquid_handling/liquid_handler_tests.py | 2 +- .../chemspeed/crystal_powderdose.py | 6 ++--- pylabrobot/resources/carrier.py | 2 +- .../resources/hamilton/trough_carriers.py | 2 +- .../resources/height_volume_functions.py | 12 +++++----- pylabrobot/resources/resource.py | 8 +++---- pylabrobot/resources/utils.py | 4 ++-- pylabrobot/storage/cytomat/cytomat.py | 2 +- pylabrobot/tilting/hamilton_backend.py | 2 +- 24 files changed, 64 insertions(+), 59 deletions(-) diff --git a/_typos.toml b/_typos.toml index 452e0848498..7bef9eacdad 100644 --- a/_typos.toml +++ b/_typos.toml @@ -19,6 +19,11 @@ nd = "nd" PN = "PN" tro = "tro" COMMAN = "COMMAN" +FO = "FO" +UE = "UE" +portait = "portait" +indictor = "indictor" +heigh = "heigh" [files] extend-exclude = [ diff --git a/docs/resources/index.md b/docs/resources/index.md index a2d4bd91f14..4b6897e6ec2 100644 --- a/docs/resources/index.md +++ b/docs/resources/index.md @@ -152,7 +152,7 @@ If you cannot find something, please contribute what you are looking for!

As a result, many automation software systems believe that it is impossible to reuse resource definitions. In contrast, PyLabRobot is convinced that carefully created resource definitions combined with smart automation can be reused most of the time.

-

PLR is actively addressing these resource resuse constraints in numerous ways:

+

PLR is actively addressing these resource reuse constraints in numerous ways: