habit-hooks-generic
The language-agnostic Habit Hooks plugin: a built-in line-count sensor plus a jscpd-backed duplication sensor, for any project regardless of language.
Install
This plugin ships as part of the core — installing habit-hooks installs it,
nothing extra to add.
pip install habit-hooks
Enable
# .habit-hooks/config.toml
plugins = ["generic"]
Installing a plugin does not switch it on — it has to be named in
plugins before habit-hooks runs it.
Detectors
jscpd—npm install --save-dev jscpd- The line counter is built in; nothing to install for it.
Part of habit-hooks.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file habit_hooks_generic-1.4.0.tar.gz.
File metadata
- Download URL: habit_hooks_generic-1.4.0.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fce66b2215bff76b38b0aebffcbd7b93522c350ed7b7690b03d18088ed09eeb8
|
|
| MD5 |
7aa4dbcb0d790da3e63f5b14d016f136
|
|
| BLAKE2b-256 |
0b4a7e027f85f96abf6ca8fecc9296b3e731799a9ffded1be358e1adbea0adab
|
Provenance
The following attestation bundles were made for habit_hooks_generic-1.4.0.tar.gz:
Publisher:
release.yml on habit-hooks/habit-hooks
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
habit_hooks_generic-1.4.0.tar.gz -
Subject digest:
fce66b2215bff76b38b0aebffcbd7b93522c350ed7b7690b03d18088ed09eeb8 - Sigstore transparency entry: 2618928999
- Sigstore integration time:
-
Permalink:
habit-hooks/habit-hooks@59e12b1f3b11f4856cb00657fa89e37a0f80b025 -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/habit-hooks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@59e12b1f3b11f4856cb00657fa89e37a0f80b025 -
Trigger Event:
push
-
Statement type:
File details
Details for the file habit_hooks_generic-1.4.0-py3-none-any.whl.
File metadata
- Download URL: habit_hooks_generic-1.4.0-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57982409d6ab8ffcca906c5fbc6eb8c49f23bd46cbb08983277a18aea5057df0
|
|
| MD5 |
f30ce3a2ee07f4762cf882291c066d03
|
|
| BLAKE2b-256 |
7c98d7ad79a81044b4057dd76f979bab1e50510a439cbf9b3a446e69048f16e0
|
Provenance
The following attestation bundles were made for habit_hooks_generic-1.4.0-py3-none-any.whl:
Publisher:
release.yml on habit-hooks/habit-hooks
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
habit_hooks_generic-1.4.0-py3-none-any.whl -
Subject digest:
57982409d6ab8ffcca906c5fbc6eb8c49f23bd46cbb08983277a18aea5057df0 - Sigstore transparency entry: 2618929003
- Sigstore integration time:
-
Permalink:
habit-hooks/habit-hooks@59e12b1f3b11f4856cb00657fa89e37a0f80b025 -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/habit-hooks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@59e12b1f3b11f4856cb00657fa89e37a0f80b025 -
Trigger Event:
push
-
Statement type: