Skip to content

Commit

Permalink
chore: update dependencies and general repo maintenance (#25)
Browse files Browse the repository at this point in the history
* perf: update to pyo3 Bound APIs

* chore: update precommit

* chore: update python dependencies

* fix: one more deprecated call
  • Loading branch information
roeap authored Aug 5, 2024
1 parent 2a6b522 commit 44f5bbd
Show file tree
Hide file tree
Showing 13 changed files with 907 additions and 1,000 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ __blobstorage__
examples/data
!examples/data/.gitkeep
.venv/

*.github-issues
34 changes: 11 additions & 23 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default_install_hook_types: [pre-commit, commit-msg]
default_stages: [commit, push]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-case-conflict
- id: check-merge-conflict
Expand All @@ -11,44 +11,32 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/commitizen-tools/commitizen
rev: v2.39.1
rev: v3.28.0
hooks:
- id: commitizen
stages: [commit-msg]

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.2.1"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
hooks:
- id: ruff
args: ["--config", "pyproject.toml"]

- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black
args: ["--config", "pyproject.toml"]
types_or: [python, pyi]
args: [--fix]
- id: ruff-format
types_or: [python, pyi, jupyter]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.4
rev: v4.0.0-alpha.8
hooks:
- id: prettier

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
exclude: setup.py
entry: pyupgrade --py38-plus
types:
- python

- repo: https://github.com/python-poetry/poetry
rev: "1.3.0"
rev: "1.8.0"
hooks:
- id: poetry-check

- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.290
rev: v1.1.374
hooks:
- id: pyright

Expand Down
Loading

0 comments on commit 44f5bbd

Please sign in to comment.