django:pre-commit
差别
这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
django:pre-commit [2025/08/20 14:46] – 创建 bestony | django:pre-commit [2025/08/20 14:48] (当前版本) – bestony | ||
---|---|---|---|
行 4: | 行 4: | ||
<code copy Bash [enable_line_numbers=" | <code copy Bash [enable_line_numbers=" | ||
+ | |||
+ | |||
+ | ===== conf ===== | ||
+ | <code copy Bash [enable_line_numbers=" | ||
+ | |||
+ | <code copy yaml [enable_line_numbers=" | ||
+ | # See https:// | ||
+ | # See https:// | ||
+ | repos: | ||
+ | - repo: https:// | ||
+ | rev: v3.2.0 | ||
+ | hooks: | ||
+ | - id: trailing-whitespace | ||
+ | - id: end-of-file-fixer | ||
+ | - id: check-yaml | ||
+ | - id: check-added-large-files | ||
+ | - repo: https:// | ||
+ | # Ruff version. | ||
+ | rev: v0.12.9 | ||
+ | hooks: | ||
+ | # Run the linter. | ||
+ | - id: ruff-check | ||
+ | args: [ --fix ] | ||
+ | # Run the formatter. | ||
+ | - id: ruff-format | ||
+ | |||
+ | </ |
/storage/data/attic/django/pre-commit.1755701187.txt.gz · 最后更改: 由 bestony