Pylint can't find SQLAlchemy query member

前端 未结 13 1428
予麋鹿
予麋鹿 2021-01-30 08:25

I have a Flask (v0.10.1) application using Flask-SQLAlchemy (v2.0) and I\'m trying to configure Pylint to check it. Running with Python 3.4.2.

First error was:



        
13条回答
  •  野的像风
    2021-01-30 08:54

    Another alternative is to add scoped_session to the list of ignored classes:

    # List of class names for which member attributes should not be checked (useful
    # for classes with dynamically set attributes). This supports the use of
    # qualified names.
    ignored-classes=scoped_session
    

提交回复
热议问题