Fu Hanxi
0181762519
ci: fix isort py37 incompatible issue
2023-02-06 10:34:45 +08:00
David Cermak
2ed027a633
ci: Fix pre-commit hook per isort deps deprecation
...
isorts dependecy became deprecated. Fixed to use 5.12.0 version of isort pre-commit
2023-02-02 10:10:05 +01:00
Marius Vikhammer
11c0850159
precommit: update flake8 repo url to use github
...
Gitlab mirror repo has been deprecated.
2022-11-15 16:26:42 +08:00
Michael (XIAO Xufeng)
4919358d6b
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.
2022-09-11 02:55:56 +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