not-in-test (E713)
源自 pycodestyle linter。
修复总是可用的。
作用
检查使用 not {element} in {collection}
的成员资格测试。
为什么这不好?
使用 {element} not in {collection}
测试成员资格更具可读性。
示例
建议改为
源自 pycodestyle linter。
修复总是可用的。
检查使用 not {element} in {collection}
的成员资格测试。
使用 {element} not in {collection}
测试成员资格更具可读性。
建议改为