Metadata-Version: 2.5
Name: habit-hooks-generic
Version: 1.5.0
Summary: The generic (language-agnostic) Habit Hooks plugin
Project-URL: Homepage, https://habit-hooks.com
Project-URL: Repository, https://github.com/habit-hooks/habit-hooks
Project-URL: Issues, https://github.com/habit-hooks/habit-hooks/issues
Project-URL: Changelog, https://github.com/habit-hooks/habit-hooks/blob/main/CHANGELOG.md
License-Expression: MIT
Keywords: ai-coding-agents,ci,code-quality,code-review,code-smells,coding-agents,developer-tools,linter,refactoring,static-analysis,technical-debt
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# 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.

```sh
pip install habit-hooks
```

## Enable

```toml
# .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`](https://github.com/kucherenko/jscpd) — `npm install --save-dev jscpd`
- The line counter is built in; nothing to install for it.

Part of [habit-hooks](https://github.com/habit-hooks/habit-hooks).
