File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v2
14- - name : Set up Python 3.7
14+ - name : Set up Python 3.10
1515 uses : actions/setup-python@v2
1616 with :
17- python-version : 3.7
17+ python-version : 3.10
1818 - name : Install pre-commit hook
1919 run : |
2020 pip install pre-commit
Original file line number Diff line number Diff line change 11# pre-commit-hooks
22
3- Some pre-commit hooks for OpenMMLab projects.
3+ Some pre-commit hooks for VBTI-Development projects.
44
55## Using pre-commit-hooks with pre-commit
66
77Add this to your ` .pre-commit-config.yaml `
88
99``` yaml
10- - repo : https://github.com/open-mmlab /pre-commit-hooks
11- rev : v0.4.1 # Use the ref you want to point at
10+ - repo : https://github.com/vbti-development /pre-commit-hooks
11+ rev : v0.4.2 # Use the ref you want to point at
1212 hooks :
1313 - id : check-algo-readme
1414 - id : check-copyright
@@ -50,8 +50,8 @@ Check the validity of the ecosystem yaml file
5050- ` filename` - path of the project yaml
5151
5252` ` ` yaml
53- - repo: https://github.com/open-mmlab /pre-commit-hooks
54- rev: v0.4.1
53+ - repo: https://github.com/vbti-development /pre-commit-hooks
54+ rev: v0.4.2
5555 hooks:
5656 - id: check-ecosystem-validity
5757 args: [projects_index.yaml]
7777
7878` ` ` yaml
7979 - repo: https://github.com/open-mmlab/pre-commit-hooks
80- rev: v0.4.1
80+ rev: v0.4.2
8181 hooks:
8282 - id: remove-improper-eol-in-cn-docs
8383` ` `
Original file line number Diff line number Diff line change 33import os .path as osp
44from typing import List
55
6- HEADER = 'Copyright (c) OpenMMLab . All rights reserved.\n '
6+ HEADER = 'Copyright (c) VBTI . All rights reserved.\n '
77
88HEADER_KEYWORDS = {'Copyright' , 'License' }
99
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def readme():
99
1010setup (
1111 name = 'pre_commit_hooks' ,
12- version = '0.4.1 ' ,
12+ version = '0.4.2 ' ,
1313 description = 'A pre-commit hook for OpenMMLab projects' ,
1414 long_description = readme (),
1515 long_description_content_type = 'text/markdown' ,
You can’t perform that action at this time.
0 commit comments