Skip to content
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

Fix AssertionError when opening with chardet #2785

Conversation

n-thumann
Copy link
Contributor

@n-thumann n-thumann commented Mar 10, 2023

This PR fixes an AssertationError, when chardet is unable to detect the encoding.

Added in 8d0d82b, it is checked if chardet has actually detected an encoding. If it's unable to detect one, an AssertationError is raised and codespell fails hard.

Example:

➜  ~ touch /tmp/empty_file
➜  ~ file /tmp/empty_file                 
/tmp/empty_file: empty
➜  ~ codespell /tmp/empty_file                                           
➜  ~ echo $?
0
➜  ~ codespell --hard-encoding-detection /tmp/empty_file                 
Traceback (most recent call last):
  File "/home/nthumann/.local/bin/codespell", line 8, in <module>
    sys.exit(_script_main())
  File "/home/nthumann/.local/lib/python3.10/site-packages/codespell_lib/_codespell.py", line 989, in _script_main
    return main(*sys.argv[1:])
  File "/home/nthumann/.local/lib/python3.10/site-packages/codespell_lib/_codespell.py", line 1178, in main
    bad_count += parse_file(
  File "/home/nthumann/.local/lib/python3.10/site-packages/codespell_lib/_codespell.py", line 871, in parse_file
    lines, encoding = file_opener.open(filename)
  File "/home/nthumann/.local/lib/python3.10/site-packages/codespell_lib/_codespell.py", line 218, in open
    return self.open_with_chardet(filename)
  File "/home/nthumann/.local/lib/python3.10/site-packages/codespell_lib/_codespell.py", line 231, in open_with_chardet
    assert encoding is not None
AssertionError
➜  ~ echo $?
1

With this patch we use always return f.encoding instead of encoding, which may be None, if chardet is unable to detect it. f.encoding either contains the encoding passed to open (if chardet detect it) or the encoding Python detected (if encoding is None).
Simply removing the assertation will make mypy unhappy, because the returned encoding can be None.

@n-thumann n-thumann force-pushed the handle_assertation_error_chardet branch from 91bc6b0 to a326b44 Compare March 13, 2023 12:00
@n-thumann n-thumann force-pushed the handle_assertation_error_chardet branch from b989b30 to 91903d8 Compare March 15, 2023 08:03
@@ -245,7 +244,7 @@ def open_with_chardet(self, filename: str) -> Tuple[List[str], str]:
lines = f.readlines()
f.close()

return lines, encoding
return lines, f.encoding
Copy link
Collaborator

@DimitriPapadopoulos DimitriPapadopoulos Mar 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, we return io.TextIOBase.encoding, as actually set by open in text mode (checked it's UTF-8 for empty files).

@@ -228,7 +228,6 @@ def open_with_chardet(self, filename: str) -> Tuple[List[str], str]:
break
self.encdetector.close()
encoding = self.encdetector.result["encoding"]
assert encoding is not None # noqa: S101
Copy link
Collaborator

@DimitriPapadopoulos DimitriPapadopoulos Mar 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The assertion was introduced by 8d0d82b / #2588 in an attempt to please mypy. That's not a proper fix, especially since Python can optimise assertions away, but mypy did give a good hint to look into this part of the code. And we now have the proper fix!

@DimitriPapadopoulos DimitriPapadopoulos merged commit b152607 into codespell-project:master Mar 15, 2023
renovate bot added a commit to allenporter/pyrainbird that referenced this pull request Jun 15, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[codespell-project/codespell](https://togithub.com/codespell-project/codespell)
| repository | patch | `v2.2.4` -> `v2.2.5` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>codespell-project/codespell</summary>

###
[`v2.2.5`](https://togithub.com/codespell-project/codespell/releases/tag/v2.2.5)

[Compare
Source](https://togithub.com/codespell-project/codespell/compare/v2.2.4...v2.2.5)

#### What's Changed

- Add fixing consciousely typo by
[@&#8203;yarikoptic](https://togithub.com/yarikoptic) in
[codespell-project/codespell#2777
- atalog typo (saw twice in a project) by
[@&#8203;yarikoptic](https://togithub.com/yarikoptic) in
[codespell-project/codespell#2782
- created fstrings by
[@&#8203;marksmayo](https://togithub.com/marksmayo) in
[codespell-project/codespell#2784
- Replace bandit, isort, pylint, pyupgrade, and flake8 plus plugins with
ruff by [@&#8203;cclauss](https://togithub.com/cclauss) in
[codespell-project/codespell#2779
- Add Microsoft Mispelling by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2789
- Use Latest Version In README Pre-Commit Example by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2788
- ruff: Use format specifiers instead of percent format by
[@&#8203;cclauss](https://togithub.com/cclauss) in
[codespell-project/codespell#2787
- New typos by [@&#8203;gforcada](https://togithub.com/gforcada) in
[codespell-project/codespell#2793
- Ruff: Ignore new rule PLC1901 by
[@&#8203;cclauss](https://togithub.com/cclauss) in
[codespell-project/codespell#2797
- Add various typo fixes by
[@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2795
- Another suggestion by
[@&#8203;gforcada](https://togithub.com/gforcada) in
[codespell-project/codespell#2798
- Fix AssertionError when opening with chardet by
[@&#8203;n-thumann](https://togithub.com/n-thumann) in
[codespell-project/codespell#2785
- Fix typo (and variants) from xxHash by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2761
- Add `huld`->`hold` Spelling Mistake by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2792
- Fix CI issues by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2796
- CI: fix new ruff error B028 by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2802
- Skip subdirectories of hidden directories by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2541
- Add tweek(s)->tweak(s) correction by
[@&#8203;cfi-gb](https://togithub.com/cfi-gb) in
[codespell-project/codespell#2804
- Add supoort->support by
[@&#8203;thughes](https://togithub.com/thughes) in
[codespell-project/codespell#2806
- Add Suggestion For `readded` Mispelling by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2805
- Add displaing->displaying by
[@&#8203;peternewman](https://togithub.com/peternewman) in
[codespell-project/codespell#2808
- Another suggestion for stati by
[@&#8203;gforcada](https://togithub.com/gforcada) in
[codespell-project/codespell#2810
- Add dimaond -> diamond by
[@&#8203;Moiman](https://togithub.com/Moiman) in
[codespell-project/codespell#2813
- Add vai->via, vie by
[@&#8203;peternewman](https://togithub.com/peternewman) in
[codespell-project/codespell#2815
- Remove invalid correction - Kwanza = currency of Angola by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2803
- sinoid and friends by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2807
- Add excludle->exclude by
[@&#8203;peternewman](https://togithub.com/peternewman) in
[codespell-project/codespell#2814
- Add gadjet->gadget and friend by
[@&#8203;peternewman](https://togithub.com/peternewman) in
[codespell-project/codespell#2818
- Add togueter->together by
[@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2821
- Add "mutabl->mutable" by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2822
- Add containin->containing by
[@&#8203;janosh](https://togithub.com/janosh) in
[codespell-project/codespell#2824
- Add mandess->madness by [@&#8203;luzpaz](https://togithub.com/luzpaz)
in
[codespell-project/codespell#2825
- some fixes by [@&#8203;marksmayo](https://togithub.com/marksmayo) in
[codespell-project/codespell#2820
- Fix new ruff errors reported by CI by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2834
- Add fusipn->fusion by [@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2836
- Add 'subcription->subscription' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2832
- Add 'promtp->prompt' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2833
- Add 'endpdoint' as a misspelling of 'endpoint' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2830
- Add more misspellings of 'identities' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2829
- Friends of existing typos by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2837
- Fix
[`66ec667`](https://togithub.com/codespell-project/codespell/commit/66ec667)
by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2838
- equivallent and friends by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2827
- Add delpoys->deploys by [@&#8203;luzpaz](https://togithub.com/luzpaz)
in
[codespell-project/codespell#2842
- Added variations on 'difference' by
[@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2841
- Add 'canoncical->canonical' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2831
- Add additional typos by
[@&#8203;kianmeng](https://togithub.com/kianmeng) in
[codespell-project/codespell#2835
- Add spelling corrections for inject and variants. by
[@&#8203;cfi-gb](https://togithub.com/cfi-gb) in
[codespell-project/codespell#2846
- Add 'credentail->credential' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2844
- Add 'requestor->requester' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2845
- Update README.rst by
[@&#8203;andyholmes](https://togithub.com/andyholmes) in
[codespell-project/codespell#2466
- Add exrension(s)->extension(s) by
[@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2847
- Add facttory->factory and facttories-> factories by
[@&#8203;nils-van-zuijlen](https://togithub.com/nils-van-zuijlen) in
[codespell-project/codespell#2848
- Add several spelling corrections by
[@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2849
- Add comtaining->containing by
[@&#8203;nils-van-zuijlen](https://togithub.com/nils-van-zuijlen) in
[codespell-project/codespell#2855
- topoplogical and friends by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2854
- Add placehoulder->placeholder by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2856
- More typos from GlobalProtect-openconnect by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2850
- Add spelling correction for siver->silver/sliver/diver by
[@&#8203;cfi-gb](https://togithub.com/cfi-gb) in
[codespell-project/codespell#2858
- Add assertino->assertion by
[@&#8203;sourcefrog](https://togithub.com/sourcefrog) in
[codespell-project/codespell#2859
- add notority->notoriety by
[@&#8203;EdwardBetts](https://togithub.com/EdwardBetts) in
[codespell-project/codespell#2861
- Misspellings from eLabFTW by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2863
- Add `invirant{,s}->invariant{,s}` by
[@&#8203;ojeda](https://togithub.com/ojeda) in
[codespell-project/codespell#2870
- Add `alloccat*->allocat*` by
[@&#8203;ojeda](https://togithub.com/ojeda) in
[codespell-project/codespell#2869
- Add "multiply"/"multiplies" variations to instances of "multiple" by
[@&#8203;jdufresne](https://togithub.com/jdufresne) in
[codespell-project/codespell#2872
- Add strin->string and optiona->optional by
[@&#8203;peternewman](https://togithub.com/peternewman) in
[codespell-project/codespell#2817
- Add wellplate -> well plate by
[@&#8203;claydugo](https://togithub.com/claydugo) in
[codespell-project/codespell#2873
- Add `afile` Misspelling by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2876
- Ignore 'misspellings' due to string escapes by
[@&#8203;Zac-HD](https://togithub.com/Zac-HD) in
[codespell-project/codespell#2875
- Add `pre-poulate` Misspellings by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2878

#### New Contributors

- [@&#8203;marksmayo](https://togithub.com/marksmayo) made their first
contribution in
[codespell-project/codespell#2784
- [@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) made their
first contribution in
[codespell-project/codespell#2789
- [@&#8203;gforcada](https://togithub.com/gforcada) made their first
contribution in
[codespell-project/codespell#2793
- [@&#8203;n-thumann](https://togithub.com/n-thumann) made their first
contribution in
[codespell-project/codespell#2785
- [@&#8203;Moiman](https://togithub.com/Moiman) made their first
contribution in
[codespell-project/codespell#2813
- [@&#8203;sirosen](https://togithub.com/sirosen) made their first
contribution in
[codespell-project/codespell#2822
- [@&#8203;andyholmes](https://togithub.com/andyholmes) made their first
contribution in
[codespell-project/codespell#2466
- [@&#8203;nils-van-zuijlen](https://togithub.com/nils-van-zuijlen) made
their first contribution in
[codespell-project/codespell#2848
- [@&#8203;sourcefrog](https://togithub.com/sourcefrog) made their first
contribution in
[codespell-project/codespell#2859
- [@&#8203;ojeda](https://togithub.com/ojeda) made their first
contribution in
[codespell-project/codespell#2870
- [@&#8203;claydugo](https://togithub.com/claydugo) made their first
contribution in
[codespell-project/codespell#2873
- [@&#8203;Zac-HD](https://togithub.com/Zac-HD) made their first
contribution in
[codespell-project/codespell#2875

**Full Changelog**:
codespell-project/codespell@v2.2.4...v2.2.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/allenporter/pyrainbird).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to allenporter/flux-local that referenced this pull request Jun 16, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[codespell-project/codespell](https://togithub.com/codespell-project/codespell)
| repository | patch | `v2.2.4` -> `v2.2.5` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>codespell-project/codespell</summary>

###
[`v2.2.5`](https://togithub.com/codespell-project/codespell/releases/tag/v2.2.5)

[Compare
Source](https://togithub.com/codespell-project/codespell/compare/v2.2.4...v2.2.5)

#### What's Changed

- Add fixing consciousely typo by
[@&#8203;yarikoptic](https://togithub.com/yarikoptic) in
[codespell-project/codespell#2777
- atalog typo (saw twice in a project) by
[@&#8203;yarikoptic](https://togithub.com/yarikoptic) in
[codespell-project/codespell#2782
- created fstrings by
[@&#8203;marksmayo](https://togithub.com/marksmayo) in
[codespell-project/codespell#2784
- Replace bandit, isort, pylint, pyupgrade, and flake8 plus plugins with
ruff by [@&#8203;cclauss](https://togithub.com/cclauss) in
[codespell-project/codespell#2779
- Add Microsoft Mispelling by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2789
- Use Latest Version In README Pre-Commit Example by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2788
- ruff: Use format specifiers instead of percent format by
[@&#8203;cclauss](https://togithub.com/cclauss) in
[codespell-project/codespell#2787
- New typos by [@&#8203;gforcada](https://togithub.com/gforcada) in
[codespell-project/codespell#2793
- Ruff: Ignore new rule PLC1901 by
[@&#8203;cclauss](https://togithub.com/cclauss) in
[codespell-project/codespell#2797
- Add various typo fixes by
[@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2795
- Another suggestion by
[@&#8203;gforcada](https://togithub.com/gforcada) in
[codespell-project/codespell#2798
- Fix AssertionError when opening with chardet by
[@&#8203;n-thumann](https://togithub.com/n-thumann) in
[codespell-project/codespell#2785
- Fix typo (and variants) from xxHash by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2761
- Add `huld`->`hold` Spelling Mistake by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2792
- Fix CI issues by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2796
- CI: fix new ruff error B028 by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2802
- Skip subdirectories of hidden directories by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2541
- Add tweek(s)->tweak(s) correction by
[@&#8203;cfi-gb](https://togithub.com/cfi-gb) in
[codespell-project/codespell#2804
- Add supoort->support by
[@&#8203;thughes](https://togithub.com/thughes) in
[codespell-project/codespell#2806
- Add Suggestion For `readded` Mispelling by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2805
- Add displaing->displaying by
[@&#8203;peternewman](https://togithub.com/peternewman) in
[codespell-project/codespell#2808
- Another suggestion for stati by
[@&#8203;gforcada](https://togithub.com/gforcada) in
[codespell-project/codespell#2810
- Add dimaond -> diamond by
[@&#8203;Moiman](https://togithub.com/Moiman) in
[codespell-project/codespell#2813
- Add vai->via, vie by
[@&#8203;peternewman](https://togithub.com/peternewman) in
[codespell-project/codespell#2815
- Remove invalid correction - Kwanza = currency of Angola by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2803
- sinoid and friends by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2807
- Add excludle->exclude by
[@&#8203;peternewman](https://togithub.com/peternewman) in
[codespell-project/codespell#2814
- Add gadjet->gadget and friend by
[@&#8203;peternewman](https://togithub.com/peternewman) in
[codespell-project/codespell#2818
- Add togueter->together by
[@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2821
- Add "mutabl->mutable" by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2822
- Add containin->containing by
[@&#8203;janosh](https://togithub.com/janosh) in
[codespell-project/codespell#2824
- Add mandess->madness by [@&#8203;luzpaz](https://togithub.com/luzpaz)
in
[codespell-project/codespell#2825
- some fixes by [@&#8203;marksmayo](https://togithub.com/marksmayo) in
[codespell-project/codespell#2820
- Fix new ruff errors reported by CI by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2834
- Add fusipn->fusion by [@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2836
- Add 'subcription->subscription' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2832
- Add 'promtp->prompt' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2833
- Add 'endpdoint' as a misspelling of 'endpoint' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2830
- Add more misspellings of 'identities' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2829
- Friends of existing typos by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2837
- Fix
[`66ec667`](https://togithub.com/codespell-project/codespell/commit/66ec667)
by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2838
- equivallent and friends by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2827
- Add delpoys->deploys by [@&#8203;luzpaz](https://togithub.com/luzpaz)
in
[codespell-project/codespell#2842
- Added variations on 'difference' by
[@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2841
- Add 'canoncical->canonical' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2831
- Add additional typos by
[@&#8203;kianmeng](https://togithub.com/kianmeng) in
[codespell-project/codespell#2835
- Add spelling corrections for inject and variants. by
[@&#8203;cfi-gb](https://togithub.com/cfi-gb) in
[codespell-project/codespell#2846
- Add 'credentail->credential' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2844
- Add 'requestor->requester' by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2845
- Update README.rst by
[@&#8203;andyholmes](https://togithub.com/andyholmes) in
[codespell-project/codespell#2466
- Add exrension(s)->extension(s) by
[@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2847
- Add facttory->factory and facttories-> factories by
[@&#8203;nils-van-zuijlen](https://togithub.com/nils-van-zuijlen) in
[codespell-project/codespell#2848
- Add several spelling corrections by
[@&#8203;luzpaz](https://togithub.com/luzpaz) in
[codespell-project/codespell#2849
- Add comtaining->containing by
[@&#8203;nils-van-zuijlen](https://togithub.com/nils-van-zuijlen) in
[codespell-project/codespell#2855
- topoplogical and friends by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2854
- Add placehoulder->placeholder by
[@&#8203;sirosen](https://togithub.com/sirosen) in
[codespell-project/codespell#2856
- More typos from GlobalProtect-openconnect by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2850
- Add spelling correction for siver->silver/sliver/diver by
[@&#8203;cfi-gb](https://togithub.com/cfi-gb) in
[codespell-project/codespell#2858
- Add assertino->assertion by
[@&#8203;sourcefrog](https://togithub.com/sourcefrog) in
[codespell-project/codespell#2859
- add notority->notoriety by
[@&#8203;EdwardBetts](https://togithub.com/EdwardBetts) in
[codespell-project/codespell#2861
- Misspellings from eLabFTW by
[@&#8203;DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos)
in
[codespell-project/codespell#2863
- Add `invirant{,s}->invariant{,s}` by
[@&#8203;ojeda](https://togithub.com/ojeda) in
[codespell-project/codespell#2870
- Add `alloccat*->allocat*` by
[@&#8203;ojeda](https://togithub.com/ojeda) in
[codespell-project/codespell#2869
- Add "multiply"/"multiplies" variations to instances of "multiple" by
[@&#8203;jdufresne](https://togithub.com/jdufresne) in
[codespell-project/codespell#2872
- Add strin->string and optiona->optional by
[@&#8203;peternewman](https://togithub.com/peternewman) in
[codespell-project/codespell#2817
- Add wellplate -> well plate by
[@&#8203;claydugo](https://togithub.com/claydugo) in
[codespell-project/codespell#2873
- Add `afile` Misspelling by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2876
- Ignore 'misspellings' due to string escapes by
[@&#8203;Zac-HD](https://togithub.com/Zac-HD) in
[codespell-project/codespell#2875
- Add `pre-poulate` Misspellings by
[@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) in
[codespell-project/codespell#2878

#### New Contributors

- [@&#8203;marksmayo](https://togithub.com/marksmayo) made their first
contribution in
[codespell-project/codespell#2784
- [@&#8203;Casey-Kiewit](https://togithub.com/Casey-Kiewit) made their
first contribution in
[codespell-project/codespell#2789
- [@&#8203;gforcada](https://togithub.com/gforcada) made their first
contribution in
[codespell-project/codespell#2793
- [@&#8203;n-thumann](https://togithub.com/n-thumann) made their first
contribution in
[codespell-project/codespell#2785
- [@&#8203;Moiman](https://togithub.com/Moiman) made their first
contribution in
[codespell-project/codespell#2813
- [@&#8203;sirosen](https://togithub.com/sirosen) made their first
contribution in
[codespell-project/codespell#2822
- [@&#8203;andyholmes](https://togithub.com/andyholmes) made their first
contribution in
[codespell-project/codespell#2466
- [@&#8203;nils-van-zuijlen](https://togithub.com/nils-van-zuijlen) made
their first contribution in
[codespell-project/codespell#2848
- [@&#8203;sourcefrog](https://togithub.com/sourcefrog) made their first
contribution in
[codespell-project/codespell#2859
- [@&#8203;ojeda](https://togithub.com/ojeda) made their first
contribution in
[codespell-project/codespell#2870
- [@&#8203;claydugo](https://togithub.com/claydugo) made their first
contribution in
[codespell-project/codespell#2873
- [@&#8203;Zac-HD](https://togithub.com/Zac-HD) made their first
contribution in
[codespell-project/codespell#2875

**Full Changelog**:
codespell-project/codespell@v2.2.4...v2.2.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/allenporter/flux-local).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants