×

目录▲

  • 1 · vscode flake8如何取消module level import not at top错误提示
  • ROCEYS's Archives

    vscode flake8如何取消module level import not at top错误提示

    module level import not at top

    vscode flake8如何取消module level import not at top错误提示

    配置setting.json文件即可

      "python.linting.flake8Args": [
    		// 每行最大显示字符数设置
            "--max-line-length=600",
            // module level import not at top of fileflake8(E402) 
    		// 需要忽略的代码规范提示编号
            "--ignore=E402",
        ]
    
    0 comments
    Anonymous
    Markdown is supported

    Be the first person to leave a comment!