erplibre/script/git
Mathieu Benoit 7cdcd8a07a [ADD] garde-fou : signaler au commit un source trop récent pour le dépôt
Une syntaxe plus récente que le Python du dépôt ne casse qu'au chargement, et
aucun outil en place ne la voyait : la cible de black borne ce qu'il ÉCRIT,
jamais ce qu'il accepte, et flake8 analyse avec l'interpréteur courant. Le
contrôle compile les fichiers indexés avec un vrai interpréteur de la version
déclarée, trouvé sans réseau par mise, pyenv ou le PATH, et se prend lui-même
quand il y tourne déjà. Sans interpréteur, il DIT qu'il n'a pas vérifié plutôt
que de laisser croire le contraire. Le hook relaie, sans bloquer le commit, et
écarte les dépôts rapatriés dont ce dépôt ne répond pas.
Vérifié : les f-strings PEP 701 de la révision précédente sont signalées, rien
ne l'est sur l'arbre courant, et l'absence du fichier de version se dit.

--- EN ---

A syntax newer than the repository's Python only breaks at load, and no tool in
place saw it: black's target bounds what it WRITES, never what it accepts, and
flake8 parses with the running interpreter. The check compiles staged files
with a real interpreter of the declared version, found without network through
mise, pyenv or the PATH, and takes itself when it already runs under it.
Without one, it SAYS it did not check rather than implying it did. The hook
relays, without blocking the commit, and skips the checked-out repositories
this one does not answer for.
Checked: the PEP 701 f-strings of the previous revision are reported, nothing
is on the current tree, and a missing version file is announced.

Assisted-by: Claude Opus 5
2026-09-24 13:56:57 -04:00
..
hooks [ADD] garde-fou : signaler au commit un source trop récent pour le dépôt 2026-09-24 13:56:57 -04:00
__init__.py [UPD] script: move script git, manifest, database, poetry, install 2023-01-02 21:54:20 -05:00
clean_repo_manifest.sh [FIX] git clean repo manifest adapt for multi odoo 2025-11-05 04:36:47 -05:00
commit_msg_lib.py [FIX] commit msg : chercher lib_identifiant sans masquer GitPython 2026-09-04 03:48:36 +00:00
fork_project.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
fork_project_ERPLibre.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
git_change_remote.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
git_change_remote_https_to_git.py [FIX] git remote : ignorer un dépôt fautif, lister les écarts à la fin 2026-09-04 03:48:39 +00:00
git_diff_repo_manifest.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
git_local_server.py [UPD] script Format 2026-03-14 23:26:31 -04:00
git_merge_repo_manifest.py [ADD] installation: add optional extra modules (CybroOdoo) 2026-08-07 02:09:24 -04:00
git_repo_manifest.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
git_repo_update_group.py [ADD] commentaires : un relevé non bloquant, sa règle, le code nettoyé 2026-08-30 06:08:30 -04:00
git_show_code_diff_repo_manifest.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
git_tool.py [FIX] git tool : garder le dépôt racine quand le manifeste manque 2026-09-04 03:48:32 +00:00
git_update_repo.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
github_api.py [FIX] script: différer les annotations, la 12 tourne en Python 3.7 2026-08-23 03:13:58 -04:00
pull_request_ERPLibre.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
remote_code_generation_git_compare.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
repo_diff_last_version.sh [IMP] refactoring .venv.erplibre 2025-10-31 01:34:26 -04:00
repo_diff_stat_last_version.sh [IMP] refactoring .venv.erplibre 2025-10-31 01:34:26 -04:00
repo_remove_auto_install.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
repo_revert_git_diff_date_from_code_generator.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
repo_url.py [FIX] script: différer les annotations, la 12 tourne en Python 3.7 2026-08-23 03:13:58 -04:00
tag_push_all.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00