Pylint can't find SQLAlchemy query member

前端 未结 13 1578
予麋鹿
予麋鹿 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 09:06

    In the first solution in this page, following needs to be updated. Its a typo issue,

    Instead of "pylint_flask" in this settings.json parameter(in this line: "python.linting.pylintArgs": ["--load-plugins", "pylint_flask"]) it should be "python.linting.pylintArgs": ["--load-plugins", "pylint-flask"]).

提交回复
热议问题