Skip to main content

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

  • jscpdnpm 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

habit_hooks_generic-1.5.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

habit_hooks_generic-1.5.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file habit_hooks_generic-1.5.0.tar.gz.

File metadata

  • Download URL: habit_hooks_generic-1.5.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for habit_hooks_generic-1.5.0.tar.gz
Algorithm Hash digest
SHA256 ded020f88a96fd2f7b23d79937b33f27879151b74973bb77fcf9e196b53bdbd9
MD5 f321ef6540dd5d32127f2f33e99af858
BLAKE2b-256 3b0608f357aa4bc8958dada5991c02467a9afd51b9347ae0b876f34e3ee846bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_generic-1.5.0.tar.gz:

Publisher: release.yml on habit-hooks/habit-hooks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file habit_hooks_generic-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for habit_hooks_generic-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7893d20827f804f47f4cf9e6caf54e6431d93901148af17cc6858ae6fb80c1eb
MD5 be3b223295009df730a1ca18b353ea39
BLAKE2b-256 2fdf344ca4e2ec77d932cc21622887aaa76b395021cce80ce7273405906949bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_generic-1.5.0-py3-none-any.whl:

Publisher: release.yml on habit-hooks/habit-hooks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 files

1.4.0

2 files

1.3.1

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.3

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page