Skip to main content

Run various linters if they are installed.

Project description

Unit tests PyPI - Python Version Libraries.io dependency status for GitHub repo

Runs all the following programs in order, and return 1 if any of them result in an error.

  1. isort

  2. ruff

  3. mypy

Getting Started

Install and run:

pip install brundle
brundle --help

usage: brundle [-h]
               [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
               [--log-file LOG_FILE]
               [--isort ISORT]
               [--ruff RUFF]
               [--mypy MYPY]
               [-v]

Run available linters.

options:
-h, --help            show this help message and exit
--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                      logging level (default: INFO)
--log-file LOG_FILE   pipe loggining to file instead of stdout (default: None)
--isort ISORT         runs isort (default: False)
--ruff RUFF           runs ruff (default: False)
--mypy MYPY           runs mypy (default: False)
-v, --version         show program's version number and exit

Or if you want to install all linters that brundle bundles:

pip install brundle[linters]
brundle --help

usage: brundle [-h]
               [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
               [--log-file LOG_FILE]
               [--isort ISORT]
               [--ruff RUFF]
               [--mypy MYPY]
               [-v]

Run available linters.

options:
-h, --help            show this help message and exit
--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                      logging level (default: INFO)
--log-file LOG_FILE   pipe loggining to file instead of stdout (default: None)
--isort ISORT         runs isort (default: True)
--ruff RUFF           runs ruff (default: True)
--mypy MYPY           runs mypy (default: True)
-v, --version         show program's version number and exit

Usage

Run:

brundle

Development

Setup, run tests and release:

pip install .[dev]
brundle
pytest
bouillon release 1.2.3

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

brundle-1.3.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brundle-1.3.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file brundle-1.3.0.tar.gz.

File metadata

  • Download URL: brundle-1.3.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for brundle-1.3.0.tar.gz
Algorithm Hash digest
SHA256 bc6fde192f0e7f8889f283603a6da7b06be7e977fc8228cbee72e54b30540a30
MD5 060b7969946350057fb965ef681a08e6
BLAKE2b-256 3085025cc08fae91019de9488190c955621cf25e2d4db1bf0e2dd7a146a67e7e

See more details on using hashes here.

File details

Details for the file brundle-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: brundle-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for brundle-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64e281aacb3493dbc81eca81f3a07f121770ba92e595178d42ada73b6dd81161
MD5 a340ec29d2842844b21212ce5dc62611
BLAKE2b-256 0e42690113ecda16f23984a3901b8cfa434cf085a244b00df4e0e9022a3bb77b

See more details on using hashes here.

Supported by

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