Lint: Check spelling on CI but don't fail (#3080)

Check spelling on CI (no fail), fix typo in docs, ignore some others
This commit is contained in:
Hugo van Kemenade 2023-03-30 19:52:29 +03:00 committed by GitHub
parent 39a9c468e2
commit 3028f07ad7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 1 deletions

View File

@ -7,3 +7,11 @@
Error-de_DE=Wenn ist das Nunstück git und Slotermeyer?
Ja! Beiherhund das Oder die Virtualenvironment gersput!
<https://devguide.python.org/pullrequest/#licensing>`__
class ClassE[T: [str, int]]: ... # Type checker error: illegal expression form
class ClassE[T: t1]: ... # Type checker error: literal tuple expression required
explicitly declared using ``in``, ``out`` and ``inout`` keywords.
| | | | | | | inout |

View File

@ -6,7 +6,9 @@ ba
clos
complies
crate
dedented
extraversion
falsy
fo
iif
nd

View File

@ -18,3 +18,8 @@ jobs:
- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.0
- name: Check spelling
uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files --hook-stage manual codespell || true

View File

@ -153,7 +153,7 @@ the footer (source link and last modified timestamp).
3.5 Prepare for writing
''''''''''''''''''''''''
``pep_html_builder.FileBuilder.prepare_writing`` initialises the bare miniumum
``pep_html_builder.FileBuilder.prepare_writing`` initialises the bare minimum
of the Docutils writer and the settings for writing documents.
This provides a significant speed-up over the base Sphinx implementation, as
most of the data automatically initialised was unused.