File tree Expand file tree Collapse file tree 5 files changed +16
-6
lines changed Expand file tree Collapse file tree 5 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,14 @@ jobs:
7676 path : build
7777 retention-days : 7
7878 compression-level : 6 # Default compression level for a good balance of speed and size
79- lint_rst :
79+
80+ check_typos :
8081 runs-on : ubuntu-latest
8182 steps :
8283 - name : Checkout repository
8384 uses : actions/checkout@v3
85+ - name : Install typos
86+ run : cargo install typos-cli
8487 - name : Check for typos
85- run : pipx run sphinx-lint src
88+ run : typos
89+
Original file line number Diff line number Diff line change 1+ [default ]
2+ extend-ignore-identifiers-re = [
3+ # Ignore things that look like gui_xztNdXA2oFNB
4+ " gui_.*" ,
5+ ]
6+
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ Ferrocene Language Specification Conformance
1818Various checks are performed against the ``:fls: `` option present in ``guideline `` directives to
1919ensure they are valid.
2020
21- Coverage of the coding guidlines over the FLS is calculated.
21+ Coverage of the coding guidelines over the FLS is calculated.
2222
2323Each coding guideline has its ``:fls: `` option turned into a hyperlink to the corresponding element
2424within the FLS to be able to navigate there directly.
2525
2626Further an ``spec.lock `` file located at ``root/src/spec.lock `` is validated against the currently
27- deployed version of the Ferrocene Language Spec and the build is failed if there is discrepency .
27+ deployed version of the Ferrocene Language Spec and the build is failed if there is discrepancy .
2828
2929Links to the Rust standard library
3030==================================
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ Macros
456456
457457 The following is a macro which shows referring to a vector entity using a non-global path. Depending on
458458 where the macro is used a different `Vec ` could be used than is intended. If scope where this is used
459- defines a struct `Vec ` which is not preset at the macro defintion , the macro user might be intending to
459+ defines a struct `Vec ` which is not preset at the macro definition , the macro user might be intending to
460460 use that in the macro.
461461
462462 .. code-block :: rust
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ appropriate ``category``.
214214
215215These are guidelines for which no enforcement is expected and any non-compliance **MAY ** be disregarded.
216216
217- *Note *: The ``retired `` ``status `` supercedes any ``category `` assigned a guideline, effectively
217+ *Note *: The ``retired `` ``status `` supersedes any ``category `` assigned a guideline, effectively
218218conferring upon the guideline the ``category `` of ``disapplied `` with no ability to recategorize it
219219to ``mandatory ``, ``required ``, or ``advisory ``. The ``category `` assigned the guideline at the time
220220it is retired is kept.
You can’t perform that action at this time.
0 commit comments