🎨 style(babyagi.py): format code with black 🔥 chore(babyagi.py): remove unused imports and variables ✨ feat(babyagi.py): add support for GPT-4 model 🐛 fix(babyagi.py): fix formatting and typos in print statements 🚀 perf(babyagi.py): optimize context_agent function for faster query results 👌 refactor(babyagi.py): refactor task_creation_agent function for readability 👌 refactor(babyagi.py): refactor prioritization_agent function for readability 👌 refactor(babyagi.py): refactor execution_agent function for readability 👌 refactor(babyagi.py): refactor context_agent function for readability 📝 docs(babyagi.py): add comments to explain code functionality 🎨 style(babyagi.py): fix indentation and add line breaks for readability 🔧 chore(requirements.txt): add pre-commit dependency to ensure code quality and consistency
28 lines
641 B
YAML
28 lines
641 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: check-merge-conflict
|
|
- id: debug-statements
|
|
- id: requirements-txt-fixer
|
|
files: requirements.txt
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.3.0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.11.5
|
|
hooks:
|
|
- id: isort
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
rev: 6.0.0
|
|
hooks:
|
|
- id: flake8
|
|
args: ["--max-line-length=140"]
|