Skip to main content

A SARIF formatter for flake8

Project description

Flake8 SARIF formatting plugin

ℹ️ This is an unofficial tool created by Field Security Services, and is not officially supported by GitHub.

This is a plugin for Flake8 (a Python linter) that formats the output as SARIF.

Installation

From PyPi

Install it with pip from PyPi:

python3 -mpip install flake8-sarif-formatter

From the GitHub repository

Clone the GitHub repository and install it with pip:

python3 -mpip . install

OR

Install straight from the GitHub repository:

python3 -mpip install pip --upgrade # make sure pip is sufficiently up-to-date for the #egg= fragment
python3 -mpip install 'git+https://github.com/advanced-security/flake8-sarif-formatter.git#egg=flake8-sarif-formatter'

Usage

Use it in Flake8 by referencing the plugin name sarif in your Flake8 configuration file on a single line, as:

format=sarif

or at the CLI with:

flake8 --format=sarif

License

This project is licensed under the terms of the MIT open source license. Please refer to the LICENSE for the full terms.

Maintainers

See CODEOWNERS for the list of maintainers.

Support

ℹ️ This is an unofficial tool created by Field Security Services, and is not officially supported by GitHub.

See the SUPPORT file.

Background

See the CHANGELOG, CONTRIBUTING, SECURITY, SUPPORT, CODE OF CONDUCT and PRIVACY files for more information.

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

flake8_sarif_formatter-1.0.3.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

flake8_sarif_formatter-1.0.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file flake8_sarif_formatter-1.0.3.tar.gz.

File metadata

  • Download URL: flake8_sarif_formatter-1.0.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for flake8_sarif_formatter-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e2c63ac4189adc55b2ad9231233b33e4dbda91f3968dd33ae5726a1a9615abaf
MD5 0ad08812b7ef8e4a914be3c60addd6df
BLAKE2b-256 39f94850442cf4d7a5f75e8d8e101b7fae7ff58ab0621b8afdd2e6add494505b

See more details on using hashes here.

File details

Details for the file flake8_sarif_formatter-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for flake8_sarif_formatter-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 acd25dbb126fd5d921105132203587c8304da21d289ce1304841231d4a916f3a
MD5 c4c5e87513b4c200adfcd089583cafe5
BLAKE2b-256 da3fb93da1d2d47da92206ba8538720418158f85e502ecb0f0aecec9b6b8253f

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