diff options
author | Brian Haley <bhaley@redhat.com> | 2019-02-20 11:44:20 -0500 |
---|---|---|
committer | Brian Haley <haleyb.dev@gmail.com> | 2019-02-21 21:11:34 +0000 |
commit | fba5eb694b0821859719b9ee4e61c36d62eeff20 (patch) | |
tree | 52098c941921e685ab63c5fbc3a9b468b44b0b1a /.pylintrc | |
parent | 7e208c30140cfe06fa4f123589985e57c246223d (diff) | |
download | neutron-fba5eb694b0821859719b9ee4e61c36d62eeff20.tar.gz |
Fix pylint R1714 (consider-using-in) refactor messages
Instead of checking variables are equal to one of many
values, use a tuple and check if the variable is 'in' it.
This is faster and less verbose.
Change-Id: I429dbbd92a78fdfae3140cae8a397ff10f6d956e
Diffstat (limited to '.pylintrc')
-rw-r--r-- | .pylintrc | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -89,7 +89,6 @@ disable= # new for python3 version of pylint chained-comparison, consider-using-dict-comprehension, - consider-using-in, consider-using-set-comprehension, unnecessary-pass, useless-object-inheritance |