uv uses .venv as its project environment, and `uv sync --frozen` removes every package that is not in uv.lock. The tools the git hooks need would go with it, so they get a directory of their own. Re-running scripts/dev-setup.sh switches the hooks of an older clone and leaves its .venv alone. Ignore rules and prunes cover both directories. Refs: #516 Assisted-by: Claude Code
31 lines
722 B
Plaintext
31 lines
722 B
Plaintext
---
|
|
extends: default
|
|
|
|
ignore: |
|
|
.venv/**
|
|
.venv-dev/**
|
|
apm_modules/**
|
|
# Generated by apm install; its list indentation fails the rules below.
|
|
apm.lock.yaml
|
|
# Written and rewritten by antsibull-changelog, which does not indent sequences.
|
|
changelogs/config.yaml
|
|
changelogs/changelog.yaml
|
|
|
|
rules:
|
|
trailing-spaces:
|
|
level: error
|
|
comments:
|
|
# https://github.com/prettier/prettier/issues/6780
|
|
min-spaces-from-content: 1
|
|
# https://github.com/adrienverge/yamllint/issues/384
|
|
comments-indentation: false
|
|
document-start: disable
|
|
line-length:
|
|
max: 160
|
|
braces:
|
|
min-spaces-inside: 0
|
|
max-spaces-inside: 1
|
|
octal-values:
|
|
forbid-implicit-octal: true
|
|
forbid-explicit-octal: true
|