关键字后有多余空格 (E271) 源自 pycodestyle linter。 修复总是可用的。 此规则不稳定且处于预览状态。使用需要 --preview 标志。 作用 检查关键字后多余的空格。 为什么这不好? 示例 True and False 建议改为 True and False