kopia lustrzana https://github.com/espressif/esp-idf
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.pull/6974/head
rodzic
9aebd01aeb
commit
7f2973f702
|
@ -22,8 +22,6 @@ repos:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
exclude: *whitespace_excludes
|
exclude: *whitespace_excludes
|
||||||
- id: check-executables-have-shebangs
|
- id: check-executables-have-shebangs
|
||||||
- id: file-contents-sorter
|
|
||||||
files: '(tools\/ci\/executable-list\.txt|tools\/ci\/mypy_ignore_list\.txt)'
|
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
args: ['-f=lf']
|
args: ['-f=lf']
|
||||||
- id: double-quote-string-fixer
|
- id: double-quote-string-fixer
|
||||||
|
@ -97,3 +95,8 @@ repos:
|
||||||
additional_dependencies: ['mypy==0.800', 'mypy-extensions==0.4.3']
|
additional_dependencies: ['mypy==0.800', 'mypy-extensions==0.4.3']
|
||||||
language: python
|
language: python
|
||||||
types: [python]
|
types: [python]
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v3.4.0
|
||||||
|
hooks:
|
||||||
|
- id: file-contents-sorter
|
||||||
|
files: '(tools\/ci\/executable-list\.txt|tools\/ci\/mypy_ignore_list\.txt)'
|
||||||
|
|
Ładowanie…
Reference in New Issue