pylint-flask-sqlalchemy
A Pylint plugin for improving code analysis when editing code using Flask-SQLAlchemy
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-sqlalchemyuv
uv add pylint-flask-sqlalchemypoetry
poetry add pylint-flask-sqlalchemyInstalling 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
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
pylint-pytestA Pylint plugin that suppresses false-positive…
permissive · top 15,000 on PyPI
pylint-pydanticA Pylint plugin that extends Pylint's…
copyleft · top 5,000 on PyPI
Flask-SQLAlchemyFlask-SQLAlchemy integrates SQLAlchemy database…
permissive · top 1,000 on PyPI
pylint-quotesA Pylint plugin that enforces consistent use of…
permissive · top 15,000 on PyPI
types-Flask-SQLAlchemyProvides type stubs for Flask-SQLAlchemy to…
permissive · top 15,000 on PyPI
pylint-flaskA Pylint plugin that resolves Flask extension…
copyleft · top 15,000 on PyPI
nplusoneDetects n+1 query problems in Python ORMs…
unclear · top 15,000 on PyPI
pylint-djangoA Pylint plugin that improves static analysis…
copyleft · top 5,000 on PyPI
pylint-celeryA Pylint plugin that improves static analysis…
copyleft · top 15,000 on PyPI
sqlbagsqlbag provides a collection of SQLAlchemy…
unclear · top 15,000 on PyPI