#698 Fix flake8 complaints
Merged by onosek. Opened by onosek.
onosek/rpkg fix_flake8  into  master

Download 698.patch

E721 do not compare types, for exact checks use is / is not, for
instance checks use isinstance()
Conditions in the method _list_branches were switched because:
issubclass(git.RemoteReference, git.Head)

Signed-off-by: Ondrej Nosek onosek@redhat.com

Looks good to me.
I'm not sure if the Jenkins failure in tests is related. I don't see how it could be related.

rebased onto 5c915a549ad2d10a3eb36c56801574d81a601670

Thanks @lsedlar for the suggested fix.

Pull-Request has been merged by onosek

Metadata