linuxmint / mintupdate

The Linux Mint Update Manager
309 stars 152 forks source link

simplify boolean expressions #797

Closed hduelme closed 1 year ago

hduelme commented 1 year ago

I did some readability improvements to some boolean checks. Instead of checking if an element is contained in an list and inverting the condition with not , I used not in. Instead of checking if two objects are equal and inverting the condition with not , I used!= (not equal). And instead of checking if an boolean is equal to False, I used not directly.