1 Star 0 Fork 0

Sync.Nep / djc_helper

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.pre-commit-config.yaml 1.89 KB
一键复制 编辑 原始数据 按行查看 历史
风之凌殇 提交于 2023-03-03 11:23 . ci: 更新 precommit 版本
default_language_version:
python: python3
exclude: |
(?x)
# source code directory
^(lanzou|test)/|
# others
^(.cached|.db|.mypy_cache|.pytest_cache|.venv|.venv_dev|.tox|logs|releases)/|
# source code files
^(reversi.py|qt_collapsible_box.py|utils/notices.txt)$
repos:
# note: use following cmd to update repo rev to latest version
# export http_proxy=socks5://127.0.0.1:10808 https_proxy=socks5://127.0.0.1:10808
# pre-commit autoupdate
#
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
args: [ --py38-plus ]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
args: [ --safe, --quiet, --line-length=120 ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-encoding-pragma
args: [ --remove ]
- id: check-yaml
- id: debug-statements
language_version: python3
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: python-use-type-annotations
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
language_version: python3.8
additional_dependencies:
- flake8-typing-imports==1.14.0
- flake8-bugbear == 23.1.17
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.1
hooks:
- id: mypy
args: [ ]
additional_dependencies:
- iniconfig>=1.1.0
- py>=1.8.2
- attrs>=19.2.0
- packaging
- tomli
- types-atomicwrites
- types-pkg_resources
- types-requests
- types-toml
# - types-selenium
- types-psutil
1
https://gitee.com/a915646637/djc_helper.git
git@gitee.com:a915646637/djc_helper.git
a915646637
djc_helper
djc_helper
master

搜索帮助