Skip to content

Commit 240ac9a

Browse files
committed
Fix config
1 parent 050c7dc commit 240ac9a

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

Diff for: .codespellrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/spell-check/.codespellrc
33
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
44
ignore-words-list = ba,licence,ot
5-
skip = ./.git,./.licenses,__pycache__,./.clang-format,./.editorconfig,./.flake8,./pyproject.toml
5+
skip = ./.git,./.licenses,__pycache__,./.clang-format,./.editorconfig,./.flake8,./.prettierignore,./.yamllint.yml
66
builtin = clear,informal,en-GB_to_en-US
77
check-filenames =
88
check-hidden =

Diff for: .pre-commit-config.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0
3+
rev: 'v4.5.0'
44
hooks:
55
- id: check-case-conflict
66
- id: check-symlinks
@@ -15,25 +15,25 @@ repos:
1515
args:
1616
- --markdown-linebreak-ext=md
1717
- repo: https://github.com/codespell-project/codespell
18-
rev: v2.2.4
18+
rev: 'v2.2.4'
1919
hooks:
2020
- id: codespell
2121
- repo: https://github.com/pre-commit/mirrors-clang-format
22-
rev: v15.0.7
22+
rev: 'v15.0.7'
2323
hooks:
2424
- id: clang-format
2525
types_or:
2626
- c
2727
- c++
2828
- repo: https://github.com/psf/black-pre-commit-mirror
29-
rev: 22.10.0
29+
rev: '22.10.0'
3030
hooks:
3131
- id: black
3232
language_version: python3.8
3333
args:
3434
- --line-length=120 #From the arduino code style. Add as argument rather than creating a new config file.
3535
- repo: https://github.com/PyCQA/flake8
36-
rev: 7.0.0
36+
rev: '7.0.0'
3737
hooks:
3838
- id: flake8
3939
types_or:
@@ -43,13 +43,13 @@ repos:
4343
- flake8-comprehensions
4444
- flake8-simplify
4545
- repo: https://github.com/pre-commit/mirrors-prettier
46-
rev: v3.1.0
46+
rev: 'v3.1.0'
4747
hooks:
4848
- id: prettier
4949
types_or:
5050
- yaml
5151
- repo: https://github.com/adrienverge/yamllint
52-
rev: v1.33.0
52+
rev: 'v1.33.0'
5353
hooks:
5454
- id: yamllint
5555
types_or:

Diff for: .prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
__pycache__/
2+
.clang-format
3+
.licenses/
4+
/.git/

0 commit comments

Comments
 (0)