How to suppress a certain warning in Spyder editor?

前端 未结 2 1087
慢半拍i
慢半拍i 2021-01-24 07:59

The editor in Spyder always gives me warnings for unused imports/variables immediately after I type the line. I want to suppress such warnings. How do I do that? And I want thi

2条回答
  •  臣服心动
    2021-01-24 09:03

    You need to go to

    Tools > Preferences > Editor > Code Introspection/Analysis

    and deactivate the option called

    Real-time code analysis

提交回复
热议问题