Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[codespell]
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
ignore-words-list = ba,licence,ot
skip = .git,./.licenses,__pycache__,node_modules,./other/clang-format-configuration/testdata/input/samples,./other/clang-format-configuration/testdata/golden,./other/clang-format-configuration/.clang-format,go.mod,go.sum,package-lock.json,poetry.lock,yarn.lock
skip = ./.licenses,.git,__pycache__,node_modules,./other/clang-format-configuration/testdata/input/samples,./other/clang-format-configuration/testdata/golden,./other/clang-format-configuration/.clang-format,go.mod,go.sum,package-lock.json,poetry.lock,yarn.lock
builtin = clear,informal,en-GB_to_en-US
check-filenames =
check-hidden =
2 changes: 1 addition & 1 deletion .github/workflows/check-files-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ on:
jobs:
run-determination:
runs-on: ubuntu-latest
permissions: {}
outputs:
result: ${{ steps.determination.outputs.result }}
permissions: {}
steps:
- name: Determine if the rest of the workflow should run
id: determination
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/check-prettier-formatting-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
- "Taskfile.ya?ml"
- "**/.prettierignore"
- "**/.prettierrc*"
# Prettier-covered file patterns are defined by:
# https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml
#
# CSS
- "**.css"
- "**.wxss"
Expand Down Expand Up @@ -115,8 +118,6 @@ on:
- "Taskfile.ya?ml"
- "**/.prettierignore"
- "**/.prettierrc*"
# Prettier-covered file patterns are defined by:
# https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml
# CSS
- "**.css"
- "**.wxss"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-workflows-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ on:
paths:
- ".github/workflows/*.ya?ml"
- ".npmrc"
- "package.json"
- "package-lock.json"
- "Taskfile.ya?ml"
- "workflow-templates/*.ya?ml"
pull_request:
paths:
- ".github/workflows/*.ya?ml"
- ".npmrc"
- "package.json"
- "package-lock.json"
- "Taskfile.ya?ml"
- "workflow-templates/*.ya?ml"
schedule:
Expand Down
7 changes: 6 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ tasks:

docs:generate:
desc: Create all generated documentation content
run: when_changed
# This is an "umbrella" task used to call any documentation generation processes the project has.
# It can be left empty if there are none.

Expand Down Expand Up @@ -586,7 +587,8 @@ tasks:
! which ec \
&>/dev/null
then
echo "ec not found or not in PATH. Please install: https://github.com/editorconfig-checker/editorconfig-checker#installation"
echo "ec not found or not in PATH."
echo "Please install: https://github.com/editorconfig-checker/editorconfig-checker#installation"
exit 1
fi
- ec
Expand Down Expand Up @@ -712,6 +714,7 @@ tasks:
-s "{{.SCHEMA_PATH}}" \
-d "{{.DATA_PATH}}"

# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-javascript-task/Taskfile.yml
js:fix:
desc: Fix JavaScript code linting violations
deps:
Expand All @@ -724,6 +727,7 @@ tasks:
--fix \
.

# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-javascript-task/Taskfile.yml
js:lint:
desc: Lint JavaScript code
deps:
Expand Down Expand Up @@ -1083,6 +1087,7 @@ tasks:
flake8 \
--show-source

# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/test-python-poetry-task/Taskfile.yml
python:test:
desc: Run Python tests
deps:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry/pyproject.toml
[tool.black]
line-length = 120

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/test-python/__init__.py
# Source:
# https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/test-python/__init__.py
# Copyright 2021 ARDUINO SA (http://www.arduino.cc/)
#
# This software is released under the GNU General Public License version 3,
Expand Down
5 changes: 3 additions & 2 deletions workflow-templates/check-prettier-formatting-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
- "Taskfile.ya?ml"
- "**/.prettierignore"
- "**/.prettierrc*"
# Prettier-covered file patterns are defined by:
# https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml
#
# CSS
- "**.css"
- "**.wxss"
Expand Down Expand Up @@ -115,8 +118,6 @@ on:
- "Taskfile.ya?ml"
- "**/.prettierignore"
- "**/.prettierrc*"
# Prettier-covered file patterns are defined by:
# https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml
# CSS
- "**.css"
- "**.wxss"
Expand Down
Loading