Skip to content

Commit

Permalink
Merge branch 'main' into matt-improvements-jan-22
Browse files Browse the repository at this point in the history
  • Loading branch information
mattzh72 authored Jan 23, 2025
2 parents 02a579f + 7676468 commit 3cf594d
Show file tree
Hide file tree
Showing 8 changed files with 137 additions and 242 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/notify-letta-cloud.yml

This file was deleted.

86 changes: 0 additions & 86 deletions .github/workflows/tests.yml

This file was deleted.

11 changes: 7 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,29 @@ repos:
- id: check-yaml
exclude: 'docs/.*|tests/data/.*|configs/.*'
- id: end-of-file-fixer
exclude: 'docs/.*|tests/data/.*|letta/server/static_files/.*|.*/.*\.(scss|css|html)'
exclude: 'docs/.*|tests/data/.*|letta/server/static_files/.*'
- id: trailing-whitespace
exclude: 'docs/.*|tests/data/.*|letta/server/static_files/.*'

- repo: local
hooks:
- id: autoflake
name: autoflake
entry: bash -c 'cd apps/core && poetry run autoflake --remove-all-unused-imports --remove-unused-variables --in-place --recursive --ignore-init-module-imports .'
entry: poetry run autoflake
language: system
types: [python]
args: ['--remove-all-unused-imports', '--remove-unused-variables', '--in-place', '--recursive', '--ignore-init-module-imports']
- id: isort
name: isort
entry: bash -c 'cd apps/core && poetry run isort --profile black .'
entry: poetry run isort
language: system
types: [python]
args: ['--profile', 'black']
exclude: ^docs/
- id: black
name: black
entry: bash -c 'cd apps/core && poetry run black --line-length 140 --target-version py310 --target-version py311 .'
entry: poetry run black
language: system
types: [python]
args: ['--line-length', '140', '--target-version', 'py310', '--target-version', 'py311']
exclude: ^docs/
Loading

0 comments on commit 3cf594d

Please sign in to comment.