mirror of
https://github.com/BoPeng/ai-marketplace-monitor.git
synced 2025-12-23 22:28:18 -05:00
* Switch from poetry to uv * Suppress an info message (close #204) * Fix end of line for markdown files
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
---
|
|
default_install_hook_types:
|
|
- pre-commit
|
|
- post-checkout
|
|
- post-merge
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: check-toml
|
|
- id: check-json
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: check-merge-conflict
|
|
- id: pretty-format-json
|
|
args: [--autofix, "--no-sort-keys"]
|
|
exclude: .ipynb
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
exclude: .bumpversion.cfg
|
|
# - repo: https://github.com/timothycrosley/isort
|
|
# rev: 5.13.2
|
|
# hooks:
|
|
# - id: isort
|
|
- repo: https://github.com/psf/black
|
|
rev: 24.10.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.7.4
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix]
|
|
- repo: https://github.com/citation-file-format/cffconvert
|
|
rev: 5295f87c0e261da61a7b919fc754e3a77edd98a7
|
|
hooks:
|
|
- id: validate-cff
|
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
# uv version.
|
|
rev: 0.7.19
|
|
hooks:
|
|
- id: uv-lock
|