mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
Merge branch 'bugfix/precommit_cmake_lint' into 'master'
pre-commit: Use cmakelint 1.4.1, don't check indentation See merge request espressif/esp-idf!11160
This commit is contained in:
@@ -44,10 +44,10 @@ repos:
|
|||||||
files: 'sdkconfig\.ci$|sdkconfig\.rename$|sdkconfig.*$'
|
files: 'sdkconfig\.ci$|sdkconfig\.rename$|sdkconfig.*$'
|
||||||
- id: cmake-lint
|
- id: cmake-lint
|
||||||
name: Check CMake Files Format
|
name: Check CMake Files Format
|
||||||
entry: cmakelint --linelength=120 --spaces=4
|
entry: cmakelint --linelength=120 --spaces=4 --filter=-whitespace/indent
|
||||||
language: python
|
language: python
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- https://github.com/richq/cmake-lint/archive/058c6c0ed2536.zip
|
- cmakelint==1.4.1
|
||||||
files: 'CMakeLists.txt$|\.cmake$'
|
files: 'CMakeLists.txt$|\.cmake$'
|
||||||
exclude: '\/third_party\/'
|
exclude: '\/third_party\/'
|
||||||
- id: check-codeowners
|
- id: check-codeowners
|
||||||
|
Reference in New Issue
Block a user