flake8-efm
A plugin for flake8 to print output in a format compatible with Vim’s errorformat (efm).
This lets other tools pick up flake8 errors and identify them as error/warning/etc.
Designed for efm-langserver, but should work on any tool that expects a similar format.
Usage
For usage via nvim-lspconfig + efm-langserver use:
local flake8 = {
-- Requires flake8-efm
lintCommand = "flake8 --format efm --stdin-display-name ${INPUT} -",
lintStdin = true,
lintIgnoreExitCode = true,
lintFormats = {
"%f:%l:%c:%t:%m",
}
}
Details
The default error format of flake8 shows an error code and a message, but there’s no obvious way to determine if something is an error or a warning. This is especially true for third-party codes.
For now, the leading code of each letter is mapped to an error level (error/warning/etc). There’s support for _some_ third-party plugins, and patches for others are most welcome.
Metadata
Release files for flake8-efm 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flake8-efm-1.0.2.tar.gz | 3.2 kB | Without provenance | Details for flake8-efm-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flake8_efm-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for flake8_efm-1.0.2-py3-none-any.whl |
Total release size: 6.4 kB
Release files / flake8-efm-1.0.2.tar.gz
| Download URL | flake8-efm-1.0.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5ecfcb0872fb313660db6395c6e9dc87098b11cf340f34e040e5c0ed8acc0f8
|
|
BLAKE2b-256 checksum How to use checksums |
c8b5c1af639f0a0e94b910337436900ebe1550c5e1032ea6929216e859924a6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / flake8_efm-1.0.2-py3-none-any.whl
| Download URL | flake8_efm-1.0.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38c3aee58134c85e1af998f0c4f59c72ef42910dd90afc18c21687e859003eac
|
|
BLAKE2b-256 checksum How to use checksums |
aed305d86b68224e5b879c371cc662f8c9e7a96b8a9f687095a49fee3e97d6ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for flake8-efm 1.0.2
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.