5 Star 15 Fork 12

Gitee 极速下载/label-studio

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/heartexlabs/label-studio
克隆/下载
.pre-commit-config.yaml 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
default_stages: [ pre-push ]
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.285
hooks:
- id: ruff
args: [ --no-fix, --show-fixes, --show-source ]
- repo: https://github.com/grantjenks/blue
rev: v0.9.1
hooks:
- id: blue
args: [ --check, --diff, --color ]
- repo: https://github.com/biomejs/pre-commit
rev: "v0.1.0"
hooks:
- id: biome-check
args: [ --config-path, ./web ]
additional_dependencies: [ "@biomejs/[email protected]" ]
files: ^web/.*
- repo: local
hooks:
- id: stylelint
name: stylelint
entry: bash -c 'cd web && npx stylelint **/*.scss --fix'
language: node
types: [ scss ]
files: ^.*\.scss$
- repo: local
hooks:
- id: unstage-frontend-static
name: Unstage Frontend Static Before Commit
entry: git reset HEAD -- 'web/dist/*'
language: system
pass_filenames: false
files: ^web/dist/.*
verbose: true
stages:
- pre-commit
- manual
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/label-studio.git
[email protected]:mirrors/label-studio.git
mirrors
label-studio
label-studio
develop

搜索帮助