File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 2626 - id : end-of-file-fixer
2727 - id : file-contents-sorter
2828 args : [--unique]
29- files : ^codespell\.txt$
29+ files : ^\.github/linters/ codespell\.txt$
3030 - id : fix-byte-order-marker
3131 - id : forbid-submodules
3232 - id : mixed-line-ending
@@ -35,17 +35,18 @@ repos:
3535 rev : v1.5.5
3636 hooks :
3737 - id : forbid-tabs
38- exclude : Makefile$|Makefile\..+$|makefile$|\.mk$
38+ exclude : Makefile$
3939 - id : remove-tabs
4040 args : [--whitespaces-count, "2"]
41- exclude : Makefile$|Makefile\..+$|makefile$|\.mk$
41+ exclude : Makefile$
4242 - repo : https://github.com/codespell-project/codespell
4343 rev : v2.2.6
4444 hooks :
4545 - id : codespell
4646 name : Run codespell
4747 description : Check spelling with codespell
48- entry : codespell --ignore-words=codespell.txt
48+ entry : codespell
49+ args : [--ignore-words=.github/linters/codespell.txt]
4950 - repo : https://github.com/jumanjihouse/pre-commit-hooks
5051 rev : 3.0.0
5152 hooks :
6566 description : Checks the style of Markdown files
6667 args : [--config=.github/linters/.markdown-lint.yml]
6768 types : [markdown]
68- files : \.(md|mdown|markdown) $
69+ files : \.md $
6970 - repo : https://github.com/tcort/markdown-link-check
7071 rev : v3.11.2
7172 hooks :
7475 description : Checks hyperlinks in Markdown files
7576 args : [--config=.github/linters/mlc_config.json, -q]
7677 types : [markdown]
77- files : \.(md|mdown|markdown) $
78+ files : \.md $
7879 - repo : https://github.com/adrienverge/yamllint
7980 rev : v1.35.1
8081 hooks :
8384 description : Check YAML files with yamllint
8485 args : [--strict, -c=.github/linters/.yaml-lint.yml]
8586 types : [yaml]
86- files : \.(yaml|yml) $
87+ files : \.ya?ml $
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ can use the `-f` flag:
120120## Spell Checking
121121
122122We are using ` pre-commit ` to run [ codespell] ( https://github.com/codespell-project/codespell )
123- to check code for common misspellings. We have a small custom dictionary file [ codespell.txt] ( codespell.txt ) .
123+ to check code for common misspellings. We have a small custom dictionary file [ codespell.txt] ( .github/linters/ codespell.txt) .
124124
125125## Coding conventions
126126
You can’t perform that action at this time.
0 commit comments