mirror of
https://github.com/Sitoi/dailycheckin.git
synced 2024-11-17 13:48:03 +08:00
🔧 更新(.pre-commit-config.yaml):增加针对Python代码的优化和格式化钩子
⬆️ 升级(requirements.txt):新增pycryptodome依赖包
This commit is contained in:
parent
47b7985f71
commit
31d09a7afa
@ -11,9 +11,22 @@ repos:
|
||||
- id: mixed-line-ending
|
||||
- id: trailing-whitespace
|
||||
- id: fix-encoding-pragma
|
||||
args:
|
||||
- --remove
|
||||
- id: requirements-txt-fixer
|
||||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.1.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py39-plus]
|
||||
|
||||
- repo: https://github.com/MarcoGorelli/auto-walrus
|
||||
rev: v0.2.2
|
||||
hooks:
|
||||
- id: auto-walrus
|
||||
|
||||
- repo: https://github.com/PyCQA/autoflake
|
||||
rev: v2.2.1
|
||||
hooks:
|
||||
@ -29,6 +42,7 @@ repos:
|
||||
rev: 5.12.0
|
||||
hooks:
|
||||
- id: isort
|
||||
args: ['--profile', 'black', '--filter-files']
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.9.1
|
||||
|
@ -1,3 +1,4 @@
|
||||
pycryptodome==3.17
|
||||
requests~=2.25.1
|
||||
rsa~=4.0
|
||||
urllib3~=1.26.2
|
||||
|
Loading…
Reference in New Issue
Block a user