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:
Angus Gratton
2020-11-10 07:27:45 +08:00

View File

@@ -44,10 +44,10 @@ repos:
files: 'sdkconfig\.ci$|sdkconfig\.rename$|sdkconfig.*$'
- id: cmake-lint
name: Check CMake Files Format
entry: cmakelint --linelength=120 --spaces=4
entry: cmakelint --linelength=120 --spaces=4 --filter=-whitespace/indent
language: python
additional_dependencies:
- https://github.com/richq/cmake-lint/archive/058c6c0ed2536.zip
- cmakelint==1.4.1
files: 'CMakeLists.txt$|\.cmake$'
exclude: '\/third_party\/'
- id: check-codeowners