Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: use bash for pre-commit hook (#530)
cthomascc77d4445301
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex a92299fc4..a375dacd1 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -13,21 +13,18 @@ repos:hooks:- id: autoflakename: autoflake- entry: poetry run autoflake+ entry: bash -c 'cd apps/core && poetry run autoflake --remove-all-unused-imports --remove-unused-variables --in-place --recursive --ignore-init-module-imports .'language: systemtypes: [python]- args: ['--remove-all-unused-imports', '--remove-unused-variables', '--in-place', '--recursive', '--ignore-init-module-imports']- id: isortname: isort- entry: bash -c 'cd apps/core && poetry run isort .'+ entry: bash -c 'cd apps/core && poetry run isort --profile black .'language: systemtypes: [python]- args: ['--profile', 'black']exclude: ^docs/- id: blackname: black- entry: bash -c 'cd apps/core && poetry run black .'+ entry: bash -c 'cd apps/core && poetry run black --line-length 140 --target-version py310 --target-version py311 .'language: systemtypes: [python]- args: ['--line-length', '140', '--target-version', 'py310', '--target-version', 'py311']exclude: ^docs/