New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

brundle

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brundle

Run various linters if they are installed.

  • 1.3.0
  • PyPI
  • Socket score

Maintainers
1

.. Copyright (c) 2024, Janus Heide. .. All rights reserved. .. .. Distributed under the "BSD 3-Clause License", see LICENSE.rst.

Brundle

.. image:: https://github.com/janusheide/brundle/actions/workflows/unittests.yml/badge.svg :target: https://github.com/janusheide/brundle/actions/workflows/unittests.yml :alt: Unit tests

.. image:: https://img.shields.io/pypi/pyversions/brundle :alt: PyPI - Python Version

.. image:: https://img.shields.io/librariesio/github/janusheide/brundle :alt: 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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc