Registry / testing / edx-lint

edx-lint

JSON →
library6.1.0pypypiunverified

edX-authored pylint checkers for Open edX projects. Provides custom pylint plugins and a configuration generator. Current version: 6.1.0, released monthly.

pip install edx-lint
INSTALL
IMPORT
SIG · EDX-LINT
E
edx-lint
testingpythonv6.1.0
Install
4.4s avg
Import
—
Disk
34MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v6.1.0 · 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 · 34.8MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 4.4s · import 0.000s · 36MB
34MB installed
● package 34MB
Code
Verified usage

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

register_checkers
✓ from edx_lint import register_checkers
✗ from edx_lint import register_checkers

Basic usage to register edx-lint checkers and run pylint. Ensure a .pylintrc is present (generated via `edx_lint generate`).

import pylint.lint from edx_lint.main import register_checkers # Initialize and register custom checkers register_checkers() # Run pylint with edx-lint checkers pylint.lint.Run(['--rcfile=.pylintrc', 'my_module.py'])
pylint --version
Debug
Known issues
breakingPython 2 support dropped in v5.0.0. Upgrade your codebase to Python 3.
fix
Ensure Python 3.6+ and update any Python 2-only syntax.
affects: >=5.0.0
breakingPyLinter class removed in v5.0.0. Direct imports from edx_lint.PyLinter will fail.
fix
Use pylint.lint.PyLinter if needed, or rely on register_checkers() to extend pylint.
affects: >=5.0.0
gotchaThe 'edx_lint generate' command may override hand-crafted pylintrc files. Always keep a backup.
fix
Run 'edx_lint generate' only on a fresh or version-controlled pylintrc.
affects: all
gotchaedx-lint installs many dependencies (pylint, six, etc.) that may conflict with your project's pinned versions.
fix
Use a virtual environment or pip-compile to manage dependencies.
affects: all
Upgrade
Version history
6.1.0latest on PyPI · released Apr 27, 2026
Audit
Dependencies
pylintrequirededx-lint is a pylint plugin and requires pylint to run.
clickrequiredUsed for CLI commands (edx_lint generate, etc.).
sixrequiredUsed internally, often a source of compatibility issues with Python 3.
Agent activity
18 hits · last 30 days
node
16
Resources
edx-lint — pip install edx-lint · libregistry