mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
Merge branch 'bugfix/precommit_copyright_windows' into 'master'
tools: pre-commit copyright check dependency install fails on windows Closes IDF-4017 See merge request espressif/esp-idf!15314
This commit is contained in:
commit
b5ca570cda
@ -101,8 +101,10 @@ repos:
|
|||||||
name: Check copyright notices
|
name: Check copyright notices
|
||||||
entry: tools/ci/check_copyright.py --verbose --replace
|
entry: tools/ci/check_copyright.py --verbose --replace
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- comment_parser == 1.2.3
|
- 'comment_parser == 1.2.3'
|
||||||
- thefuzz[speedup] == 0.19.0
|
- 'thefuzz == 0.19.0'
|
||||||
|
- 'thefuzz[speedup] == 0.19.0; sys_platform != "win32"'
|
||||||
|
# don't depend on python-Levenshtein on Windows, as it requires Microsoft C++ Build Tools to install
|
||||||
language: python
|
language: python
|
||||||
files: \.(py|c|h|cpp|hpp|ld)$
|
files: \.(py|c|h|cpp|hpp|ld)$
|
||||||
require_serial: true
|
require_serial: true
|
||||||
|
@ -93,7 +93,7 @@ MIME = {
|
|||||||
'cpp': 'text/x-c++'
|
'cpp': 'text/x-c++'
|
||||||
}
|
}
|
||||||
|
|
||||||
# terminal color outupu
|
# terminal color output
|
||||||
|
|
||||||
TERMINAL_RESET = '\33[0m'
|
TERMINAL_RESET = '\33[0m'
|
||||||
TERMINAL_YELLOW = '\33[93m'
|
TERMINAL_YELLOW = '\33[93m'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user