{"id":21201,"library":"edx-lint","title":"edx-lint","description":"edX-authored pylint checkers for Open edX projects. Provides custom pylint plugins and a configuration generator. Current version: 6.1.0, released monthly.","status":"active","version":"6.1.0","language":"python","source_language":"en","source_url":"https://github.com/openedx/edx-lint","tags":["pylint","linter","open-edx","openedx","code-quality"],"install":[{"cmd":"pip install edx-lint","lang":"bash","label":"PyPI install"}],"dependencies":[{"reason":"edx-lint is a pylint plugin and requires pylint to run.","package":"pylint","optional":false},{"reason":"Used for CLI commands (edx_lint generate, etc.).","package":"click","optional":false},{"reason":"Used internally, often a source of compatibility issues with Python 3.","package":"six","optional":false}],"imports":[{"wrong":"from edx_lint import register_checkers","symbol":"register_checkers","correct":"from edx_lint import register_checkers"}],"quickstart":{"code":"import pylint.lint\nfrom edx_lint.main import register_checkers\n\n# Initialize and register custom checkers\nregister_checkers()\n\n# Run pylint with edx-lint checkers\npylint.lint.Run(['--rcfile=.pylintrc', 'my_module.py'])","lang":"python","description":"Basic usage to register edx-lint checkers and run pylint. Ensure a .pylintrc is present (generated via `edx_lint generate`)."},"warnings":[{"fix":"Ensure Python 3.6+ and update any Python 2-only syntax.","message":"Python 2 support dropped in v5.0.0. Upgrade your codebase to Python 3.","severity":"breaking","affected_versions":">=5.0.0"},{"fix":"Use pylint.lint.PyLinter if needed, or rely on register_checkers() to extend pylint.","message":"PyLinter class removed in v5.0.0. Direct imports from edx_lint.PyLinter will fail.","severity":"breaking","affected_versions":">=5.0.0"},{"fix":"Run 'edx_lint generate' only on a fresh or version-controlled pylintrc.","message":"The 'edx_lint generate' command may override hand-crafted pylintrc files. Always keep a backup.","severity":"gotcha","affected_versions":"all"},{"fix":"Use a virtual environment or pip-compile to manage dependencies.","message":"edx-lint installs many dependencies (pylint, six, etc.) that may conflict with your project's pinned versions.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'6.1.0':23 'author':6 'checker':8 'code':33 'code-qu':32 'configur':19 'current':21 'custom':14 'edx':2,5,11,30 'edx-author':4 'edx-lint':1 'generat':20 'lint':3 'linter':27 'month':25 'open':10,29 'open-edx':28 'openedx':31 'plugin':16 'project':12 'provid':13 'pylint':7,15,26 'qualiti':34 'releas':24 'version':22","created_at":"2026-04-27T16:58:37.144122+00:00","updated_at":"2026-04-27T16:58:37.144122+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'register_checkers' from 'edx_lint' (/tmp/tmputhmvtyx/venv/lib/python3.12/site-packages/edx_lint/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"6.1.0","cli_name":"pylint","cli_version":"pylint 4.0.5","type":"library","homepage":null,"github":"https://github.com/openedx/edx-lint","docs":null,"changelog":null,"pypi":"https://pypi.org/project/edx-lint/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}