Commit Graph
5 Commits
Author SHA1 Message Date
Arnaud Pouliquen b90535e319 CI: add codespell support to check typos
Enable the use of codespell tool in checkpatch.pl
For this the checkpatch.pl as been partially rebased on the Linux one.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2022-04-11 09:27:06 +02:00
Arnaud Pouliquen f27850d74d CI: clean-up check on check compliance test
- Rebase check_compliance.py and compliance.yml from zephyr project
- Fix checkpatch subprocess command.
- rebase

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2022-04-11 09:27:06 +02:00
Arnaud Pouliquen 8387889dba CI: rework compliance test
The webispy/checkpatch-action does not seems to work properly.
Even if it detects coding style issue, the return state is successful.
This patch replaces the action by the compliance python script obtained
from the Zephyr project.
This script also runs gitlint to check commit messages.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2020-10-16 12:59:07 +02:00
Arnaud Pouliquen 1812f55a1f gitlint: add giltlint configuration files
Add gitlint configuration to allow contributor to check its
commit message compliance before sending its pull request.
The configuration files has been copied from Zephyr project.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2020-04-27 09:42:27 +02:00
Arnaud Pouliquen c7678f5adc scripts: add checkpatch tool
Initial version of checkpatch tool cloned from zephyr project.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2020-04-08 17:06:50 +02:00