@@ -311,7 +311,7 @@ def transistor(
311
311
else :
312
312
ae , se , ctl = sort_for_flags (terminals , box , "e" , "c" , "b" )
313
313
ap , sp = ae .pt , se .pt
314
- mid = (ap + sp ) / 2 # TODO: slide this to line up with middle
314
+ mid = (ap + sp ) / 2 # TODO: slide this to line up with middle
315
315
theta = phase (ap - sp )
316
316
backwards = 1 if is_clockwise ([ae , se , ctl ]) else - 1
317
317
thetaquarter = theta + (backwards * pi / 2 )
@@ -320,7 +320,8 @@ def transistor(
320
320
(sp , mid - rect (.8 , theta )), # Lead out
321
321
]
322
322
if 'fet' in silicon_type :
323
- arr = mid + rect (.8 , theta ), mid + rect (.8 , theta ) + rect (.7 , thetaquarter )
323
+ arr = mid + rect (.8 , theta ), mid + rect (.8 , theta ) + \
324
+ rect (.7 , thetaquarter )
324
325
if 'nfet' == silicon_type :
325
326
arr = arr [1 ], arr [0 ]
326
327
out_lines .extend ([
@@ -332,7 +333,8 @@ def transistor(
332
333
mid - rect (.5 , theta ) + rect (1 , thetaquarter )),
333
334
])
334
335
else :
335
- arr = mid + rect (.8 , theta ), mid + rect (.4 , theta ) + rect (1 , thetaquarter )
336
+ arr = mid + rect (.8 , theta ), mid + rect (.4 , theta ) + \
337
+ rect (1 , thetaquarter )
336
338
if 'npn' == silicon_type :
337
339
arr = arr [1 ], arr [0 ]
338
340
out_lines .extend ([
0 commit comments