File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -150,12 +150,14 @@ export class Pip {
150
150
entrypoint = entrypoints [ entrypoints . indexOf ( name ) ] ;
151
151
} else {
152
152
console . warn (
153
- `${ yellow (
154
- "Warning" ,
155
- )
156
- } could not determine a single entrypoint for module ${ module } , please specify one of: ${ entrypoints . join (
157
- ", " ,
158
- )
153
+ `${
154
+ yellow (
155
+ "Warning" ,
156
+ )
157
+ } could not determine a single entrypoint for module ${ module } , please specify one of: ${
158
+ entrypoints . join (
159
+ ", " ,
160
+ )
159
161
} . Importing ${ entrypoint } `,
160
162
) ;
161
163
}
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ export class PyObject {
198
198
* This is used with `PyCFunction_NewEx` in order to extend its liftime and not allow v8 to release it before its actually used
199
199
*/
200
200
#pyMethodDef?: Uint8Array ;
201
- constructor ( public handle : Deno . PointerValue ) { }
201
+ constructor ( public handle : Deno . PointerValue ) { }
202
202
203
203
/**
204
204
* Check if the object is NULL (pointer) or None type in Python.
@@ -408,7 +408,11 @@ export class PyObject {
408
408
*/
409
409
equals ( rhs : PythonConvertible ) : boolean {
410
410
const rhsObject = PyObject . from ( rhs ) ;
411
- const comparison = py . PyObject_RichCompareBool ( this . handle , rhsObject . handle , 3 ) ;
411
+ const comparison = py . PyObject_RichCompareBool (
412
+ this . handle ,
413
+ rhsObject . handle ,
414
+ 3 ,
415
+ ) ;
412
416
if ( comparison === - 1 ) {
413
417
maybeThrowError ( ) ;
414
418
}
@@ -519,7 +523,7 @@ export class PyObject {
519
523
const dict = py . PyDict_New ( ) ;
520
524
for (
521
525
const [ key , value ]
522
- of ( v instanceof Map ? v . entries ( ) : Object . entries ( v ) )
526
+ of ( v instanceof Map ? v . entries ( ) : Object . entries ( v ) )
523
527
) {
524
528
const keyObj = PyObject . from ( key ) ;
525
529
const valueObj = PyObject . from ( value ) ;
You can’t perform that action at this time.
0 commit comments