Skip to main content

Send your ruff results to bitbucket as annotations.

Project description

Ruff2BitBucket

ruff is an extremely fast Python linter and code formatter, written in Rust.

BitBucket is an Atlassian product which provides a visual git interface (basically).

With ruff2bitbucket you can run your ruff-validations and upload them as a code insight directly into BitBucket.

Installation

pip install ruff2bitbucket

Usage

Change your directory to where the configuration file is stored and run:

ruff2bitbucket [--user ...] [--pass ...]

⚠ It's important that you are in the right directory!

Configuration

You should refer to the ruff configuration docs on how to modify your pyproject.toml (or ruff.toml, or .ruff.toml) in order to provide more extensive checks.

Security

If no user or pass is passed, the environment variables are scanned for anything that looks like USER/USR and PASS/PW. When a match is found, this'll be used to attach the annotations to the current commit hash.

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

ruff2bitbucket-0.3.0.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

ruff2bitbucket-0.3.0-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

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