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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flake8-sarif-formatter-1.0.1.tar.gz
.
File metadata
- Download URL: flake8-sarif-formatter-1.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6df0d90078173b5e05d241e2d01bd06d94316add418fe576bb598373c9cfbf74 |
|
MD5 | badb91b321b7460b8abd7cd012e2f33a |
|
BLAKE2b-256 | fa8d113fc78b909ad1522f3394d3166aa92a6547cfca9cc78a3d6a4caa965df2 |
File details
Details for the file flake8_sarif_formatter-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: flake8_sarif_formatter-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2da7e9bac06c9a05e7c2d431c4d4da81f95d41e661612c15535247c84e4ca780 |
|
MD5 | 1603dec9800bf53f53342993d736034e |
|
BLAKE2b-256 | 1add6c3b066abdf2bec5e394bd9785291bc954b8eb6c3b814b447d7ed66e3422 |