skillfed

pylint-flask-sqlalchemy

A Pylint plugin for improving code analysis when editing code using Flask-SQLAlchemy

pylint-flask-sqlalchemy v0.2.0 77.0K downloads/30d#14,567 on PyPI
Copyleft license GPL Abandoned released

What it is and what it does

This is a Pylint plugin designed to fix a specific problem: when Pylint analyzes Flask-SQLAlchemy code, it generates false-positive no-member errors because it cannot statically resolve the dynamic attributes that Flask-SQLAlchemy adds to the SQLAlchemy and scoped_session objects at runtime. The plugin teaches Pylint to recognize these attributes, eliminating spurious warnings that would otherwise clutter your lint output.

You install it alongside Pylint and Flask-SQLAlchemy, then tell Pylint to load it via the --load-plugins flag or configuration file. The plugin intercepts Pylint's analysis of Flask-SQLAlchemy code and suppresses the false positives, allowing legitimate errors to surface. However, the package has not been updated since 2020-01-14 and is marked abandoned, so it may not work with newer versions of its dependencies.

Use it for:

  • Suppress false no-member errors when linting a Flask-SQLAlchemy application to get a clean, accurate Pylint score.
  • Integrate into a CI/CD pipeline that runs Pylint on Flask projects to prevent build failures from spurious SQLAlchemy warnings.
  • Use in a legacy Flask-SQLAlchemy codebase where you want to enforce code quality standards without disabling Pylint's member checks.
  • Reduce noise in Pylint output for db.session operations (add, commit) and model column definitions on scoped_session objects.

Worth the install?

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

A Pylint plugin that suppresses false-positive no-member errors when analyzing Flask-SQLAlchemy code, allowing Pylint to correctly recognize dynamic attributes on SQLAlchemy and scoped_session objects.

Yes, but with caution. The plugin solves a real problem for Flask-SQLAlchemy projects and has no known vulnerabilities. However, it is abandoned (last release 2020-01-14) and may break with newer Pylint or Flask-SQLAlchemy versions. Install it only if you are working with a stable, older Flask-SQLAlchemy stack or if you can tolerate potential incompatibilities.

Install

pylint-flask-sqlalchemy on PyPI

pip

pip install pylint-flask-sqlalchemy

uv

uv add pylint-flask-sqlalchemy

poetry

poetry add pylint-flask-sqlalchemy

Installing pylint-flask-sqlalchemy

Before you install

Low install friction with a pure-Python wheel, but the package is abandoned (last release 2020-01-14). No known security vulnerabilities, but no active maintenance means no fixes for future Pylint or Flask-SQLAlchemy incompatibilities.

License in practice

Licensed under GPL (copyleft). Any code that uses this plugin must comply with GPL terms; redistribution or modification requires source disclosure under the same license.

Quickstart

pip install pylint-flask-sqlalchemy

pylint --load-plugins pylint_flask_sqlalchemy app.py

Requires Pylint and Flask-SQLAlchemy to be installed; plugin must be explicitly loaded via --load-plugins flag or Pylint configuration.

Verify before relying

  • Whether the plugin remains compatible with current versions of Pylint and Flask-SQLAlchemy given the time since last release.
  • Whether scoped_session handling covers all common Flask-SQLAlchemy patterns in modern codebases.

Package facts

License GPL (copyleft)
Python support supports the current Python release (>=3.5)
Install friction low — pure-Python wheel
Runtime dependencies 2 — pylint, Flask-SQLAlchemy
Maintenance abandoned — 2,404 days since the last release
First released
Downloads 76,982/month — #14,567 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pylint_flask_sqlalchemy-0.2.0-py3-none-any.whl

Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License (GPL)Operating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyTyping :: Typed

Tags

pylint flask-sqlalchemy pluginfix pylint no-member errors sqlalchemypylint flask orm analysissuppress pylint false positives databasepylint plugin for flask-sqlalchemysqlalchemy code lintingpylint dynamic attribute detection
lintingflasksqlalchemy

More Quality Assurance packages