refine .gitignore and .pre-commit-config.yaml

This commit is contained in:
geekan 2023-12-20 00:47:28 +08:00
parent 6b235e536e
commit efebc07e54
2 changed files with 2 additions and 8 deletions

8
.gitignore vendored
View file

@ -144,24 +144,18 @@ cython_debug/
allure-report
allure-results
# idea
# idea / vscode / macos
.idea
.DS_Store
.vscode
log.txt
docs/scripts/set_env.sh
key.yaml
output.json
data
data/output_add.json
data.ms
examples/nb/
.chroma
*~$*
workspace/*
*.mmd
tmp
output.wav
metagpt/roles/idea_agent.py
.aider*

View file

@ -2,7 +2,7 @@ default_stages: [ commit ]
# Install
# 1. pip install pre-commit
# 2. pre-commit install(the first time you download the repo, it will be cached for future use)
# 2. pre-commit install
repos:
- repo: https://github.com/pycqa/isort
rev: 5.11.5