Commit Graph

32 Commits

Author SHA1 Message Date
Sergei Silnov
4f93db4f5a tools: Fix copyright check in pre-commit for windows 2022-07-28 15:16:53 +02:00
Roland Dobai
b59309852a Merge branch 'features/check_SPDX_license' into 'master'
Add SPDX license check

Closes PACMAN-386

See merge request espressif/esp-idf!18664
2022-07-19 18:57:05 +08:00
Fu Hanxi
54f69d35a3 ci: add check job and pre-commit 2022-07-14 08:26:32 +08:00
Dmitry Bondarenko
d79b09fda2 Add SPDX license check 2022-07-13 17:51:13 +03:00
Laukik Hase
1ee3ee6854
protobuf: Fix v4.21.0 (python) compatibility issue
- Added auto-generated protobuf files (proto-c and python to
  pre-commit hook ignore lists
2022-05-30 09:54:31 +05:30
Anton Maklakov
95da3330c7 Tools: fix PyYAML deps for pre-commit hook
Fix 'error: Library stubs not installed for "yaml" (or incompatiblewith Python 3.9)'
2022-05-23 14:09:42 +07:00
Roland Dobai
08cc2fd493 Tools: Fix the Python dependency checker by skipping not installed dependency sub-trees 2022-05-03 16:50:25 +02:00
Jacques Supcik
80f52017d4 bump version 2022-04-25 22:55:28 +02:00
Roland Dobai
9027c30237 Merge branch 'feat/python_reqs_directory' into 'master'
Tools: Make easier the detection of the list of Python features

See merge request espressif/esp-idf!17009
2022-02-14 16:06:36 +00:00
Roland Dobai
fddc73759e Tools: Make easier the detection of the list of Python features 2022-02-03 19:02:14 +01:00
Darian Leung
e49f56a96d tools: Check copyright now checks assembly files
This commit updates the pre-commit configuration and check copyright
script to check assembly files (extensions '.s' and '.S').
2022-02-03 20:50:52 +08:00
Marius Vikhammer
c6d60615c6 build-system: include soc_caps defines into kconfig
Adds gen_soc_caps_kconfig.py which parses the soc caps (soc_caps.h) into
a format that can be included in kconfig.
2021-12-06 12:37:07 +08:00
Jan Brudný
228113a399 tools: make copyright check configurable 2021-12-03 10:29:35 +01:00
Fu Hanxi
3ae7e2a92f ci: always run check-codeowners 2021-11-11 16:59:54 +08:00
Roland Dobai
0c24913608 Tools: Permanently ignore some header files from header check 2021-10-19 14:41:50 +02:00
Fu Hanxi
0b7a0d7cbd ci: move check_tools_files_patterns to pre-commit 2021-10-13 09:13:33 +08:00
Jan Brudný
3ce35ae455 tools: precommit copyright check fails on windows 2021-09-23 22:47:56 +08:00
Jan Brudný
798a174686 Add copyright check to pre-commit-config 2021-09-20 17:50:55 +08:00
Michael (XIAO Xufeng)
7f2973f702 ci: put file sorter to the end of the pre-commit checking
So that the sorter will be done at the end of the checking flow, we don't need to run pre-commit hooks again if another hook also take effect.
2021-04-26 15:58:03 +08:00
Tomas Sebestik
e408915ff0 Remove sorting of MYPY ignore list from py script
Add sorting of mypy ignore list to pre-cm hook 'file-contents-sorter'
2021-04-13 10:35:56 +02:00
No One
2e5a334831 ci: run c3 unit test when other unit test run
C3 unit test were only being ran by unit_test_esp32c3 label/title,
should also be trigger by unit_test label/title
2021-03-18 10:36:08 +08:00
Tomas Sebestik
a22597a2d6 Add mypy check to pre-commit-config 2021-02-25 07:05:43 +00:00
Fu Hanxi
80e86e7939 ci(pre-commit): check if rules is updated and valid 2021-02-10 14:50:07 +08:00
Fu Hanxi
f0ea7a505b style(editorconfig): add indent style for yaml 2021-02-10 14:48:51 +08:00
Fu Hanxi
a4f2206d4c pre-commit: Add double-quote-string-fixer and isort for python files 2021-01-20 10:38:17 +08:00
Angus Gratton
19b4f2452c pre-commit: Rearrange the YAML file to avoid the warning
Having a root level key that existed only to make an anchor led to a warning,
instead create the anchor in the first place the key was used and then reference
it later on.
2020-11-13 14:22:18 +11:00
Angus Gratton
e2614122d8 pre-commit: Exclude expected output files from whitespace fixes
These rely on exact whitespace in their content
2020-11-11 07:36:35 +00:00
Angus Gratton
f7d58aa359 cmake: Disable cmakelint indentation checks temporarily 2020-11-09 13:59:43 +11:00
Angus Gratton
4fe78185b2 pre-commit: Use cmakelint 1.4.1 not older commit 2020-11-09 10:06:05 +11:00
Fu Hanxi
7ab18c7571 Fix windows error by upgrading pre-commit-hook version.
drop python 2.7 support. Now we only support python 3.6.1+
2020-11-04 10:24:42 +08:00
Fu Hanxi
47a97d2b52 check_kconfigs and check_deprecated_kconfigs now use files arguments 2020-11-02 15:49:13 +08:00
Fu Hanxi
bcc8f2628c CI: Add pre-commit for esp-idf project.
add tools/ci/python_packages/idf_ci.py for some util functions used in
ci and needs multi-os solution
2020-11-02 15:49:13 +08:00