Registry / testing / flake8-helper

flake8-helper

JSON →
library0.2.2pypypi✓ verified 87d ago

A helper library for Flake8 plugins, providing utilities like error reporting, file retrieval, and standard callback helpers. Current version is 0.2.2, requires Python >=3.6. Releases are infrequent; last update was 2021-09-20.

pip install flake8-helper
INSTALL
IMPORT
SIG · FLAKE8-HELPER
F
flake8-helper
testingpythonv0.2.2
Install
1.8s avg
Import
—
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.2.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.3MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 1.8s · import 0.000s · 20MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Plugin
✓ from flake8_helper import Plugin
✗ from flake8_helper import Error
Visitor
✓ from flake8_helper import Visitor
Error
✓ from flake8_helper import Error

Basic usage of the get_offset helper function.

from flake8_helper import get_offset line = " print('hello')" offset = get_offset(line, column=4) print(offset) # 4
Debug
Known issues
gotchaThe package name uses a hyphen (flake8-helper) but the import uses an underscore (flake8_helper). Users often try to import flake8.helper or flake8_helper incorrectly.
fix
Always import using 'from flake8_helper import ...' (underscore).
affects: all
deprecatedThe library has not been updated since 2021; may lack compatibility with newer versions of flake8 or Python 3.10+.
fix
Consider using flake8's built-in utilities or alternative plugins if you encounter issues.
affects: >=0.2.2
Upgrade
Version history
0.2.2latest on PyPI · released Nov 22, 2023
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
flake8-helper — pip install flake8-helper · libregistry