mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
Fix windows error by upgrading pre-commit-hook version.
drop python 2.7 support. Now we only support python 3.6.1+
This commit is contained in:
parent
e8dc27add2
commit
7ab18c7571
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v2.5.0
|
rev: v3.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
exclude: '.+\.(md|rst)'
|
exclude: '.+\.(md|rst)'
|
||||||
@ -14,7 +14,7 @@ repos:
|
|||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
args: ['-f=lf']
|
args: ['-f=lf']
|
||||||
- repo: https://gitlab.com/pycqa/flake8
|
- repo: https://gitlab.com/pycqa/flake8
|
||||||
rev: 3.7.9
|
rev: 3.8.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
args: ['--config=.flake8', '--tee', '--benchmark']
|
args: ['--config=.flake8', '--tee', '--benchmark']
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
Install pre-commit Hook for ESP-IDF Project
|
Install pre-commit Hook for ESP-IDF Project
|
||||||
===========================================
|
===========================================
|
||||||
|
|
||||||
|
Required Dependency
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
Python 3.6.1 or above. This is our recommendation python version for IDF developers.
|
||||||
|
|
||||||
|
If you still have versions not compatible, please do not install pre-commit hook and update your python versions.
|
||||||
|
|
||||||
Install pre-commit
|
Install pre-commit
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user