Pylint can't find SQLAlchemy query member

前端 未结 13 1424
予麋鹿
予麋鹿 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

    The one that worked for me was switching to flake8 python linter. Below are the steps:

    1. Open VSCode and run Ctrl+Shift+P (for Windows Users)

    2. In the VSCode Search prompt, type Python:Select Linter. You will see a list of all Linters and select flake8.

    3. If you do not have flake8 installed as a VScode extension for pylint, it will prompt you to install it. Proceed and install it.

提交回复
热议问题