Auto-update pre-commit repositories and fix. (#3427)

The version of `flake8` was too old to support with Python 3.12 -- there
is new F-string support that caused false positives sadly. The updated
version has fixes for all of these.

This in turn updates codespell which has picked up several new fixes
that actually fire in our code, so also fix everything. While we don't
do more in-depth updates to old proposals, similar to simply fixing
broken links, fixing automatically detected typos seems scalable and
fine.

All edits were automatically generated here.
This commit is contained in:
Chandler Carruth
2023-11-28 17:17:28 +00:00
committed by GitHub
parent a307e7a72a
commit 01e12111a8
9 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -1981,7 +1981,7 @@ checks, like `ValidDate` with the same data layout as `Date`. Or to record the
units associated with a value, such as `Seconds` versus `Milliseconds` or `Feet`
versus `Meters`. We should have some way of restricting the casts between a type
and an adapter to address this use case. One possibility would be to add the
keyword `private` before `adpat`, so you might write
keyword `private` before `adapt`, so you might write
`extend private adapt Date;`.
## Associated constants