feat(func): 新增 get_request_json 对驼峰命名参数转换的功能

This commit is contained in:
han0
2021-08-09 15:15:32 +08:00
parent 14ef120065
commit 6959e394d7
4 changed files with 65 additions and 3 deletions

21
.pre-commit-config.yaml Normal file
View 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 ]