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:
76
76
path : build
77
77
retention-days : 7
78
78
compression-level : 6 # Default compression level for a good balance of speed and size
79
- lint_rst :
79
+
80
+ check_typos :
80
81
runs-on : ubuntu-latest
81
82
steps :
82
83
- name : Checkout repository
83
84
uses : actions/checkout@v3
85
+ - name : Install typos
86
+ run : cargo install typos-cli
84
87
- 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
18
18
Various checks are performed against the ``:fls: `` option present in ``guideline `` directives to
19
19
ensure they are valid.
20
20
21
- Coverage of the coding guidlines over the FLS is calculated.
21
+ Coverage of the coding guidelines over the FLS is calculated.
22
22
23
23
Each coding guideline has its ``:fls: `` option turned into a hyperlink to the corresponding element
24
24
within the FLS to be able to navigate there directly.
25
25
26
26
Further 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 .
28
28
29
29
Links to the Rust standard library
30
30
==================================
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ Macros
456
456
457
457
The following is a macro which shows referring to a vector entity using a non-global path. Depending on
458
458
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
460
460
use that in the macro.
461
461
462
462
.. code-block :: rust
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ appropriate ``category``.
214
214
215
215
These are guidelines for which no enforcement is expected and any non-compliance **MAY ** be disregarded.
216
216
217
- *Note *: The ``retired `` ``status `` supercedes any ``category `` assigned a guideline, effectively
217
+ *Note *: The ``retired `` ``status `` supersedes any ``category `` assigned a guideline, effectively
218
218
conferring upon the guideline the ``category `` of ``disapplied `` with no ability to recategorize it
219
219
to ``mandatory ``, ``required ``, or ``advisory ``. The ``category `` assigned the guideline at the time
220
220
it is retired is kept.
You can’t perform that action at this time.
0 commit comments