skillfed

pylint-flask

pylint-flask is a Pylint plugin to aid Pylint in recognizing and understanding errors caused when using Flask

pylint-flask v0.6 220.0K downloads/30d#9,316 on PyPI63
Copyleft license GPLv2 Abandoned released

What it is and what it does

pylint-flask is a Pylint plugin designed to improve static code analysis for Flask projects. It solves a specific problem: when using deprecated flask.ext.* style imports, Pylint would normally report false-positive errors because it cannot resolve those import paths. The plugin intercepts these imports and translates them into their actual module names so Pylint can continue checking the rest of your code without spurious errors.

The plugin works by building its own abstract syntax tree transformations during Pylint's analysis phase. It requires no runtime dependencies and integrates directly into Pylint's plugin system via the --load-plugins flag. However, the project has been abandoned since early 2019, with no updates for over 4 years, and its Python version support is limited to versions 2.7 through 3.5.

Use it for:

  • Suppress false Pylint errors when using legacy flask.ext.wtf, flask.ext.sqlalchemy, or other deprecated extension imports.
  • Improve code quality checks on existing Flask codebases that still use the older flask.ext.* import style.
  • Integrate Flask-aware linting into CI/CD pipelines for projects using deprecated Flask extension patterns.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Pylint plugin that resolves Flask extension import errors and improves code analysis for Flask projects by translating deprecated flask.ext.* imports into their actual module names.

No. The project is abandoned (last release 2019-01-30, last commit 2022-07-19) with no Python version support beyond 3.5. Modern Flask projects should use direct imports (e.g., from flask_wtf import Form) rather than the deprecated flask.ext.* pattern. If you are maintaining legacy code with flask.ext.* imports, verify compatibility with your current Python and Pylint versions before installing, as the plugin is unlikely to receive updates for new tool versions.

Install

pylint-flask on PyPI

pip

pip install pylint-flask

uv

uv add pylint-flask

poetry

poetry add pylint-flask

Installing pylint-flask

Before you install

High install friction due to source distribution packaging. The project is abandoned as of 2019-01-30 with no releases in over 4 years, and the last commit was 2022-07-19. Compatibility is listed only for Python 2.7 through 3.5, making it potentially incompatible with modern Python versions.

License in practice

Licensed under GPLv2 (copyleft). Any code that uses this plugin must comply with GPLv2 terms, including potential source code disclosure obligations if distributed.

Quickstart

pip install pylint-flask
pylint --load-plugins pylint_flask your_module.py

Requires Pylint to be installed and available on PATH. Compatibility uncertain with Python versions beyond 3.5.

Verify before relying

  • Whether this plugin works with modern Pylint versions (current compatibility not specified in fact sheet).
  • Whether this plugin functions with Python 3.6 and later (classifiers only list up to 3.5).
  • Current state of Flask extension import patterns and whether flask.ext.* style is still in use.

Package facts

License GPLv2 (copyleft)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance abandoned — 2,753 days since the last release
Last repo commit
First released
Downloads 219,983/month — #9,316 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pylint-flask-0.6.tar.gz

Keywords: pylint, flask, plugin

Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersOperating System :: UnixProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Topic :: Software Development :: Quality Assurance

Tags

pylint flask pluginflask code lintingflask.ext import errorspylint flask extensionflask code analysispylint flask compatibilityflask linter plugin
lintingflaskabandoned

More Quality Assurance packages