Skip to main content

flake8-bitbucket

Python Version Build Status Black PyPi Version

A flake8 plugin for bitbucket code insights.

DISCLAIMER

Updates to this package will be very slow.

Bitbucket requires license keys to use their product, and this makes system testing needlessly difficult.

Installation

Tested with Python 3.8.

python3.8 -m pip install flake8-bitbucket

Usage

flake8-bitbucket adds these CLI options to flake8. These options can be provided via the CLI or a .flake8 configuration file.

flake8-bitbucket:
--bitbucket-api-token BITBUCKET_API_TOKEN
                        Bitbucket API token for authentication, or a path to a file containing the token. Setting this option will automatically enable flake8-bitbucket as the formatter.
--bitbucket-url BITBUCKET_URL
                        Bitbucket server URL, such as http://localhost:8090.
--bitbucket-project-key BITBUCKET_PROJECT_KEY
                        Bitbucket project key.
--bitbucket-repository-slug BITBUCKET_REPOSITORY_SLUG
                        Bitbucket respository slug.
--bitbucket-suppress  Exit with code 0 on bitbucket HTTP failures.
--bitbucket-verify BITBUCKET_VERIFY
                        Path to SSL certificate (.pem) for HTTPS bitbucket connections.
--bitbucket-delete    Delete the report and exit.

For example:

flake8 . \
    --bitbucket-api-token MTA2MDg0MzcwODU4Okhh8vnnicQGd4immIB6LbB+mopl \
    --bitbucket-url http://localhost:7990/ \
    --bitbucket-project-key TEST \
    --bitbucket-repository-slug smellyrepo
https://raw.githubusercontent.com/newAM/flake8-bitbucket/master/smelly_code.png

Metadata

Release files for flake8-bitbucket 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flake8-bitbucket 0.1.10
File Size Uploaded Provenance
flake8-bitbucket-0.1.10.tar.gz 4.9 kB Without provenance Details

Release files / flake8-bitbucket-0.1.10.tar.gz

Download URL flake8-bitbucket-0.1.10.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2e27386e45b9c2a2e5543fbc809eaf173e7f601a46a257fa572e1a642d4d2474
BLAKE2b-256 checksum
How to use checksums
6a774bbef841d722f6301ebfb9eaafdb6467d6ff59fb22e0478516073c7779bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

Security for flake8-bitbucket 0.1.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.10 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page