mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
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:
@@ -56,7 +56,7 @@ class Annotations {
|
||||
// Rewrites the `cpp_code`, return the Carbon equivalent. If the text has no
|
||||
// source range annotated with $[[...]]$, the entire translation unit will be
|
||||
// migrated and output. Otherwise, only the migrated output corresponding to the
|
||||
// annotated range will be be output. No more than one range may be annoated at
|
||||
// annotated range will be be output. No more than one range may be annotated at
|
||||
// all.
|
||||
//
|
||||
// This annotation mechanism is useful in that it allows us to specifically test
|
||||
|
||||
Reference in New Issue
Block a user