mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-16 08:17:45 +01:00
[to #45549080]fix: fix pre_commit dependency importlib-metadata 5.0.0 compability issue
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10443005
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://gitlab.com/pycqa/flake8.git
|
- repo: https://gitlab.com/pycqa/flake8.git
|
||||||
rev: 3.8.3
|
rev: 4.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
exclude: thirdparty/|examples/
|
exclude: thirdparty/|examples/
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: /home/admin/pre-commit/flake8
|
- repo: /home/admin/pre-commit/flake8
|
||||||
rev: 3.8.3
|
rev: 4.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
exclude: thirdparty/|examples/
|
exclude: thirdparty/|examples/
|
||||||
|
|||||||
Reference in New Issue
Block a user