googlefonts / gf-glyphs-scripts

Scripts for Glyphs
21 stars 11 forks source link

Comparisons to the None object should be with identity, not equality #63

Open manlix opened 3 years ago

manlix commented 3 years ago

Hi.

I fixed comparisons to the None object according to Programming Recommendations — PEP-8:

Comparisons to singletons like None should always be done with is or is not, never the equality operators.

google-cla[bot] commented 3 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

manlix commented 3 years ago

@googlebot I signed it!