1 Star 0 Fork 0

DiDi-opensource/MeetDot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
yiqihuang 提交于 2021-08-26 05:01 . Initial commit
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-json
- id: check-yaml
args: ["--unsafe"]
- id: check-added-large-files
- id: check-ast
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.2.1
hooks:
- id: prettier
- repo: https://github.com/ambv/black
rev: 21.5b1
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9
hooks:
- id: flake8
- repo: local
hooks:
# Run python tests
- id: pytest
name: pytest
entry: pytest
language: system
pass_filenames: false
files: "^backend/"
types: [python]
stages: [push]
# Update commit hooks
- id: update_hooks
name: update_hooks
entry: pre-commit install
language: system
files: "^.pre-commit-config.yaml$"
stages: [post-merge]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/didiopensource/MeetDot.git
git@gitee.com:didiopensource/MeetDot.git
didiopensource
MeetDot
MeetDot
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385