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.3.1.tar.gz (16.6 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.3.1-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: habit_hooks_generic-1.3.1.tar.gz
  • Upload date:
  • Size: 16.6 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.3.1.tar.gz
Algorithm Hash digest
SHA256 862d57e38c3ee0295b26c2e67e040528f6e00d7e250f7049c7df43f08360a320
MD5 9dbf93f0e7f3541740d70b7ebe9be52e
BLAKE2b-256 14c2c92e32e87a4c487fd0c9d0c6c138b0c4f9c1928dd3e9c93e602a33f519b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_generic-1.3.1.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.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for habit_hooks_generic-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d22ee4856cf010141e40376eb1782d2dcfe28604efdf4dafb59b69a9133cacd1
MD5 76d154a3f2214aa4a22327077a77da7e
BLAKE2b-256 244a822e50515a6e726f2bb24c770b1a2492db4e4b555c76e3eb3981818a2d07

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_generic-1.3.1-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

1.5.0

2 files

1.4.0

2 files

This release

1.3.1 This release

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