add codespell config and ci run
This commit is contained in:
1
.codespell/exclude-file.txt
Normal file
1
.codespell/exclude-file.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
return USB0.INTSTS1.BIT.ATTCH ? true : false;
|
8
.codespellrc
Normal file
8
.codespellrc
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# See: https://github.com/codespell-project/codespell#using-a-config-file
|
||||||
|
[codespell]
|
||||||
|
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
|
||||||
|
ignore-words-list = synopsys, sie, tre, hsi, fro, dout, mot, te
|
||||||
|
check-filenames =
|
||||||
|
check-hidden =
|
||||||
|
skip = .cproject,./.git,./hw/mcu,./lib,./examples/*/*/_build,./examples/*/*/ses,./examples/*/*/ozone,./hw/mcu,./test/vendor,./tests_obsolete
|
||||||
|
exclude-file = .codespell/exclude-file.txt
|
4
.github/workflows/build_arm.yml
vendored
4
.github/workflows/build_arm.yml
vendored
@@ -7,6 +7,10 @@ on:
|
|||||||
types:
|
types:
|
||||||
- created
|
- created
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
# Unit testing with Ceedling
|
# Unit testing with Ceedling
|
||||||
|
24
.github/workflows/pre-commit.yml
vendored
Normal file
24
.github/workflows/pre-commit.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
name: pre-commit
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
pre-commit:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Setup Python
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
|
- name: Checkout TinyUSB
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Check Code Spelling
|
||||||
|
uses: codespell-project/actions-codespell@master
|
Reference in New Issue
Block a user