feat(func): 新增 get_request_json 对驼峰命名参数转换的功能
This commit is contained in:
21
.pre-commit-config.yaml
Normal file
21
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
repos:
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-pylint
|
||||
rev: v2.7.4
|
||||
hooks:
|
||||
- id: pylint
|
||||
exclude: ^nc_http/trash
|
||||
args:
|
||||
- --disable=C0103,C0114,C0115,C0116,E0401,R0201,R0903,R1722,W0105,W0108,W0401,W0613,W0621
|
||||
# - --enable=unused-import
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.3.0
|
||||
hooks:
|
||||
- id: check-json
|
||||
- id: check-merge-conflict
|
||||
- id: check-yaml
|
||||
- id: no-commit-to-branch
|
||||
args: [--branch, staging]
|
||||
- id: check-added-large-files
|
||||
args: [ --maxkb=512 ]
|
Reference in New Issue
Block a user