_yaml.py: use `in (a,b)` to simply boolean checks
Where we use a construct `val == foo or val == bar` we can instead use
`val in (foo, bar)` which pylint prefers.
Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Loading
Please register or sign in to comment