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

  • ruff, deptrypip install ruff deptry
  • jq — from your system package manager (e.g. brew install jq)

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.3.1.tar.gz (9.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_python-1.3.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: habit_hooks_python-1.3.1.tar.gz
  • Upload date:
  • Size: 9.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_python-1.3.1.tar.gz
Algorithm Hash digest
SHA256 dd936f69281ce6a7a7e7c8762a63c681700797e594bc9f3dac5bceb033c7a627
MD5 bca283402ac4ef6a367e6fc5987633ed
BLAKE2b-256 09df757d4586fb2cf3c2f366b59535d41cd73e96f1068636a73ffebd88c675b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for habit_hooks_python-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09d4fddf88ce2ab9fdcf165ca1bb3d993a54544f2f20e3dad77704d3b91f76ab
MD5 14a98e9572afc1c3923d12e1680bd7a9
BLAKE2b-256 b4d130fc4769ebf3e2490ae7b10750233691eb5f0d1427e91a7a3ba906288842

See more details on using hashes here.

Provenance

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