1篇 flake8 related articles

vscode中 flake8 忽略检查项

主要是python.linting.flake8Args 中加上 --ignore参数 即可

{
    "python.linting.flake8Enabled": true,
    "python.formatting.provider": "yapf",
    "python.linting.flake8Args": [
        "--max-line-length=248",
        "--ignore=F403,F405"
    ],
    "python.linting.pylintEnabled": false

}
More ~