Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.0rc2.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.0rc2-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: habit_hooks_python-1.4.0rc2.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.0rc2.tar.gz
Algorithm Hash digest
SHA256 feb471303e56d4210ef1187d3b47e27565b67596bbf462ba094b93bb02864c5e
MD5 4857babf4cbf5450a50470bd58155f75
BLAKE2b-256 a03c10a0f68b6afb6555611f4ef60f21a453e0fc0770ef57b5e8d31769d6e044

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for habit_hooks_python-1.4.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 61f240a9cca6babfb34a710403f3a466ad069c8ec5d6c8092a9d3fcb02bc2cfd
MD5 a173904480d952437aa29ab05ab32aeb
BLAKE2b-256 82f1d840d1da99e41a70361c72cd6d3ad09b0b3aaaa6e9c140dd3d0de83ab94e

See more details on using hashes here.

Provenance

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