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.4.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.4.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: habit_hooks_python-1.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 0e52f57fc4be347bb326a09c814a5553bbc88e9719abba0279997b23d8888169
MD5 9d3b53043e41ced620d462e4ea686e2f
BLAKE2b-256 347c3b5eaad9402f07f4043941386c58f48d96315c2236501372ad3f1240f04d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for habit_hooks_python-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54f08124ef1d0ddee92a273287310a85566df74851e44d274139c652dd6271c5
MD5 dbe25ed1eb3fc09d4093d8a4cd87e9dd
BLAKE2b-256 0d6ad30f832cc67cfed4f3edbbcc9fd8eceb9e3ba7418f4a6cc0ba6208b66d3e

See more details on using hashes here.

Provenance

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

1.5.0

2 files

This release

1.4.0 This release

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