MetaGPT
Зеркало из https://github.com/geekan/MetaGPT
/
.pre-commit-config.yaml
29 строк · 638.0 Байт
1default_stages: [ commit ]2
3# Install
4# 1. pip install metagpt[dev]
5# 2. pre-commit install
6# 3. pre-commit run --all-files # make sure all files are clean
7repos:8- repo: https://github.com/pycqa/isort9rev: 5.11.510hooks:11- id: isort12args: ['--profile', 'black']13exclude: >-14(?x)^(15.*__init__\.py$16)
17
18- repo: https://github.com/astral-sh/ruff-pre-commit19# Ruff version.20rev: v0.0.28421hooks:22- id: ruff23args: [ --fix ]24
25- repo: https://github.com/psf/black26rev: 23.3.027hooks:28- id: black29args: ['--line-length', '120']30