How do I get PyLint to recognize numpy members?

前端 未结 22 1119
南旧
南旧 2020-11-28 20:29

I am running PyLint on a Python project. PyLint makes many complaints about being unable to find numpy members. How can I avoid this while avoiding skipping membership check

22条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-28 21:01

    A quick answer: update Pylint to 1.7.1 (use conda-forge provided Pylint 1.7.1 if you use conda to manage packages)

    I found a similar issue in pylint GitHub here and someone replied everything getting OK after updating to 1.7.1.

提交回复
热议问题