mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-06-20 12:24:17 +00:00
40d927a9ff
* Chore(deps): Bump the utilities-patch group across 1 directory with 4 updates Bumps the utilities-patch group with 4 updates in the / directory: [llama-index-core](https://github.com/run-llama/llama_index), [psycopg-pool](https://github.com/psycopg/psycopg), [zensical](https://github.com/zensical/zensical) and [ruff](https://github.com/astral-sh/ruff). Updates `llama-index-core` from 0.14.21 to 0.14.22 - [Release notes](https://github.com/run-llama/llama_index/releases) - [Changelog](https://github.com/run-llama/llama_index/blob/main/CHANGELOG.md) - [Commits](https://github.com/run-llama/llama_index/compare/v0.14.21...v0.14.22) Updates `psycopg-pool` from 3.3 to 3.3.1 - [Changelog](https://github.com/psycopg/psycopg/blob/master/docs/news.rst) - [Commits](https://github.com/psycopg/psycopg/compare/3.3.0...3.3.1) Updates `zensical` from 0.0.36 to 0.0.43 - [Release notes](https://github.com/zensical/zensical/releases) - [Commits](https://github.com/zensical/zensical/compare/v0.0.36...v0.0.43) Updates `ruff` from 0.15.12 to 0.15.15 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.15.12...0.15.15) --- updated-dependencies: - dependency-name: llama-index-core dependency-version: 0.14.22 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: utilities-patch - dependency-name: psycopg-pool dependency-version: 3.3.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: utilities-patch - dependency-name: ruff dependency-version: 0.15.14 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: utilities-patch - dependency-name: zensical dependency-version: 0.0.43 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: utilities-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Syncs hook versions and runs them --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: stumpylog <797416+stumpylog@users.noreply.github.com>
86 lines
2.3 KiB
YAML
86 lines
2.3 KiB
YAML
# This file configures pre-commit hooks.
|
|
# See https://pre-commit.com/ for general information
|
|
# See https://pre-commit.com/hooks.html for a listing of possible hooks
|
|
# We actually run via https://github.com/j178/prek which is compatible
|
|
repos:
|
|
# General hooks
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-docstring-first
|
|
- id: check-json
|
|
exclude: "tsconfig.*json"
|
|
- id: check-yaml
|
|
args:
|
|
- "--unsafe"
|
|
- id: check-toml
|
|
- id: check-executables-have-shebangs
|
|
- id: end-of-file-fixer
|
|
exclude_types:
|
|
- svg
|
|
- pofile
|
|
exclude: "(^LICENSE$|^src/documents/static/bootstrap.min.css$)"
|
|
- id: mixed-line-ending
|
|
args:
|
|
- "--fix=lf"
|
|
- id: trailing-whitespace
|
|
exclude_types:
|
|
- svg
|
|
- id: check-case-conflict
|
|
- id: detect-private-key
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.4.2
|
|
hooks:
|
|
- id: codespell
|
|
additional_dependencies: [tomli]
|
|
exclude_types:
|
|
- pofile
|
|
- json
|
|
# See https://github.com/prettier/prettier/issues/15742 for the fork reason
|
|
- repo: https://github.com/rbubley/mirrors-prettier
|
|
rev: 'v3.8.4'
|
|
hooks:
|
|
- id: prettier
|
|
types_or:
|
|
- javascript
|
|
- ts
|
|
- markdown
|
|
additional_dependencies:
|
|
- prettier@3.8.3
|
|
- 'prettier-plugin-organize-imports@4.3.0'
|
|
# Python hooks
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.15.17
|
|
hooks:
|
|
- id: ruff-check
|
|
- id: ruff-format
|
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
rev: "v2.24.1"
|
|
hooks:
|
|
- id: pyproject-fmt
|
|
# Dockerfile hooks
|
|
- repo: https://github.com/AleksaC/hadolint-py
|
|
rev: v2.14.0
|
|
hooks:
|
|
- id: hadolint
|
|
# Shell script hooks
|
|
- repo: https://github.com/lovesegfault/beautysh
|
|
rev: v6.4.3
|
|
hooks:
|
|
- id: beautysh
|
|
types: [file]
|
|
files: (\.sh$|/run$|/finish$)
|
|
args:
|
|
- "--tab"
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
rev: "v0.11.0.1"
|
|
hooks:
|
|
- id: shellcheck
|
|
- repo: https://github.com/google/yamlfmt
|
|
rev: v0.21.0
|
|
hooks:
|
|
- id: yamlfmt
|
|
exclude: "^src-ui/pnpm-lock.yaml"
|
|
types:
|
|
- yaml
|