{"id":27286,"library":"pylint-flask-sqlalchemy","title":"pylint-flask-sqlalchemy","description":"A Pylint plugin that improves code analysis for Flask-SQLAlchemy by teaching Pylint about SQLAlchemy's dynamic attributes and relationships. Version 0.2.0 is the latest. Low release cadence, last updated in 2018.","status":"maintenance","version":"0.2.0","language":"python","source_language":"en","source_url":"https://github.com/…","tags":["pylint","flask","sqlalchemy","plugin"],"install":[{"cmd":"pip install pylint-flask-sqlalchemy","lang":"bash","label":"Standard install"}],"dependencies":[{"reason":"Runtime dependency","package":"pylint","optional":false},{"reason":"Runtime dependency","package":"flask-sqlalchemy","optional":false}],"imports":[{"note":"Correct usage: call register(linter) in pylint plugin loading.","wrong":"import pylint_flask_sqlalchemy","symbol":"no-member","correct":"from pylint_flask_sqlalchemy import register"}],"quickstart":{"code":"# In your .pylintrc:\n[MASTER]\nload-plugins=pylint_flask_sqlalchemy\n\n# Or via command line:\npylint --load-plugins=pylint_flask_sqlalchemy myapp.py","lang":"python","description":"Enable the plugin either in .pylintrc or via command line. The plugin teaches Pylint about SQLAlchemy's dynamic column attributes and relationships."},"warnings":[{"fix":"Consider migrating to pylint-sqlalchemy or directly configuring pylint's generated-members.","message":"Support for Python 3.5 only; Python 3.6+ may require adjustments. The library is no longer actively maintained.","severity":"deprecated","affected_versions":">=0.2.0"},{"fix":"Check compatibility with your pylint version; consider using pylint-extension or contrib plugins.","message":"The plugin may not work with newer versions of pylint (2.x+). The last release (0.2.0) was published in 2018 and may have compatibility issues.","severity":"gotcha","affected_versions":">=0.2.0"},{"fix":"Use `generated-members` in pylintrc or ignore specific warnings manually.","message":"The plugin only handles Flask-SQLAlchemy's `db.Model` and common patterns; custom attributes or dynamic models may still trigger false positives.","severity":"gotcha","affected_versions":">=0.2.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pip install pylint-flask-sqlalchemy` and ensure the package is in your Python path.","cause":"Plugin not installed or incorrect import path.","error":"Module 'pylint_flask_sqlalchemy' not found"},{"fix":"Load the plugin via .pylintrc or command line: `--load-plugins=pylint_flask_sqlalchemy`.","cause":"Pylint not recognizing SQLAlchemy columns.","error":"E: 10, 0: Instance of 'User' has no 'name' member (no-member)"},{"fix":"Upgrade pylint to at least 1.7 or ensure the plugin is installed and accessible.","cause":"Old pylint version that doesn't support the option or the plugin is not installed.","error":"pylint: error: unrecognized arguments: --load-plugins=pylint_flask_sqlalchemy"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}