Skip to content

Commit

Permalink
chore: update ruff and pre-commit (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
david20571015 authored Aug 23, 2024
1 parent 392dcba commit e766f8e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12
- uses: pre-commit/action@v3.0.0
- uses: pre-commit-ci/lite-action@v1.0.1
if: always()
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.7
rev: v0.6.2
hooks:
- id: ruff
args: [--fix]
Expand Down
45 changes: 23 additions & 22 deletions poetry.lock

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

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ llama-index-embeddings-huggingface = "^0.2.2"
optional = true

[tool.poetry.group.dev.dependencies]
ruff = "0.4.7"
pre-commit = "^3.4.0"
ruff = "^0.6.2"
pre-commit = "^3.8.0"
pymongo-inmemory = "^0.3.1"

[tool.ruff.lint]
Expand Down

0 comments on commit e766f8e

Please sign in to comment.