Skip to main content

habit-hooks-python

The Python Habit Hooks plugin: wraps ruff for structural smells (complexity, too many parameters, swallowed exceptions, …) and deptry for dependency issues.

Install

pip install "habit-hooks[python]"

Enable

# .habit-hooks/config.toml
plugins = ["python", "generic"]

Installing a plugin does not switch it on — it has to be named in plugins before habit-hooks runs it.

Detectors

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_python-1.5.0.tar.gz (13.1 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_python-1.5.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for habit_hooks_python-1.5.0.tar.gz
Algorithm Hash digest
SHA256 6d62079e2d44f4f2b886c12b2c13326876fc7907c13711a0b1b96e93b0338c9c
MD5 722561db3c086e1bf20b41765b3ce8d4
BLAKE2b-256 b8a0895638bdbdc449660f2a4117a8eefa571496b0a1905c95684fb86ff1ee78

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_python-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_python-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for habit_hooks_python-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a113b9492bbaa106f8314b69b2f76430b5e5c34a693aff23233e8af7d081f51c
MD5 efcd5f7af18e5b1a711621c066d20336
BLAKE2b-256 c49379fe7dedfb3061ecbb1d29d199a8a06845808fead696929556955ec97141

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_python-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.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