Skip to main content

Pre Commit hook for all Thoughtful checks.

Project description

Description

A pre-commit hook that runs Thoughtful pre-commit checks for common errors in the codebase. It is built as a flake8 plugin to ensure code quality and consistency.

Documentation

For more detailed information, refer to the T Bug Catcher Documentation.

Automations

The following automations are integrated with the Flake8 Thoughtful Hook: - flake8: Used for linting and enforcing coding standards.

Preflight

To configure the Flake8 Thoughtful Hook, follow these steps:

  1. Add the Flake8 Thoughtful Hook to the additional_dependencies in the flake8 hook section of your pre-commit-config.yaml file.

File Descriptions

The following table describes the purpose of each file included in the project:

File

Purpose

flake8_thoughtful.py

The main plugin file providing the entry point for flake8.

.pre-commit-config.yaml

Configuration file that defines the checks performed during pre-commit.

bitbucket-pipelines.yaml

Configuration file for Bitbucket pipelines; runs pre-commit checks and handles deployment to PyPI.

setup.py

Contains the package metadata and dependencies for the T Bug Catcher Hook.

README.md

The documentation file for the plugin, providing usage instructions and other relevant information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8_thoughtful-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file flake8_thoughtful-0.1.0.tar.gz.

File metadata

  • Download URL: flake8_thoughtful-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.0

File hashes

Hashes for flake8_thoughtful-0.1.0.tar.gz
Algorithm Hash digest
SHA256 699e1c243fe41e9d8cb5c93b8b9521b9d113f7df959678fdeeb97f32d62d15a7
MD5 957474a4be73afdb3cdb0a28a98be413
BLAKE2b-256 d2a6996d77b8467b13ed6efe619681ef0cc448d12f98077eb4fc1a6a2fdda5f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page