Run various linters if they are installed.
Project description
Runs all the following programs in order, and return 1 if any of them result in an error.
isort
ruff
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.2.0.tar.gz
(7.2 kB
view details)
Built Distribution
File details
Details for the file brundle-1.2.0.tar.gz
.
File metadata
- Download URL: brundle-1.2.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9cc3b789d1e9728e3ca8b8b7b387d38e18938ffcc9aefda171eea0c79288b31 |
|
MD5 | b41973dcc905e582d023dd4578c5bf65 |
|
BLAKE2b-256 | 4d76ee9fe4c6fb250725dacbfa6988e08dacfa982e80f9537e9fdeadd93447aa |
File details
Details for the file brundle-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: brundle-1.2.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.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7adb3004c6527dab342914f96aae4da53bceed1d85d31b3b0d6d85e25ffe2766 |
|
MD5 | d69d93896b3fb5026f6c7a231d81ad60 |
|
BLAKE2b-256 | 95eb8106f00d8b20c876bbd36708ec01c35fa14acf9f8ece7585c00fc624d18e |