mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-16 04:18:35 +00:00
This wont format automatically unless --in-place is passed and will remove init imports when missing --ignore-init-module-imports
22 lines
558 B
YAML
22 lines
558 B
YAML
repos:
|
|
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
rev: 23.12.1
|
|
hooks:
|
|
- id: black
|
|
language_version: python3.11
|
|
files: \.(py)$
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.13.2
|
|
hooks:
|
|
- id: isort
|
|
name: isort (python)
|
|
args: ["--profile", "black", "--filter-files"]
|
|
|
|
- repo: https://github.com/PyCQA/autoflake
|
|
rev: v2.2.1
|
|
hooks:
|
|
- id: autoflake
|
|
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variables', '--ignore-init-module-imports']
|