Skip to content
Commit 796bd8c9 authored by Daniel Silverstone's avatar Daniel Silverstone
Browse files

_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: default avatarDaniel Silverstone <daniel.silverstone@codethink.co.uk>
parent 9359c067
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment