Skip to content

Commit

Permalink
Merge pull request #452 from Cloud-Code-AI/451-linting-add-pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sauravpanda authored Aug 18, 2024
2 parents 68f6af8 + c00a5ff commit 7090527
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
repos:
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
args: [--config=.flake8]

- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
args: [--line-length=88]
87 changes: 86 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ tree-sitter-typescript = "^0.21.2"
tree-sitter-rust = "^0.21.2"
llama-index-llms-litellm = "^0.1.4"
llama-index-embeddings-litellm = "^0.1.1"
pre-commit = "^3.8.0"

[tool.poetry.extras]
python = ["tree-sitter-python"]
Expand Down

0 comments on commit 7090527

Please sign in to comment.