Draft: Fix 'testing inequality to None' syntax (#7275)

* Draft: Fix 'testing inequality to None' syntax 

- Substitute `is not None` for `!= None`
- Trim trailing whitespace on touched files
This commit is contained in:
luzpaz
2022-07-29 18:26:56 -04:00
committed by GitHub
parent 6ea36b25ae
commit 1ef31f40f5
10 changed files with 69 additions and 69 deletions

View File

@@ -84,7 +84,7 @@ def make_rectangle(length, height=0, placement=None, face=None, support=None):
obj.Height = height
obj.Support = support
if face != None:
if face is not None:
obj.MakeFace = face
if placement: obj.Placement = placement