Skip to content

Commit c0d175d

Browse files
committed
chore lint
1 parent 48d8447 commit c0d175d

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

src/compute-engine/boxed-expression/init-lazy-refs.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
import { expand } from './expand';
66
import { _setExpand } from './compare';
77

8-
import { serializeJson } from './serialize';
8+
import { serializeJson, _setProduct } from './serialize';
99
import { _setSerializeJson } from './abstract-boxed-expression';
1010

1111
import { Product } from './product';
12-
import { _setProduct } from './serialize';
1312

1413
_setExpand(expand);
1514
_setSerializeJson(serializeJson);

src/compute-engine/boxed-expression/rules.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,11 @@ function parseRule(
567567
};
568568
}
569569

570-
return boxRule(ce, { match, replace, condition: condFn, id: rule }, options);
570+
return boxRule(
571+
ce,
572+
{ match, replace, condition: condFn, id: rule },
573+
options
574+
);
571575
} finally {
572576
// Pop the clean scope AFTER canonicalization to avoid pollution
573577
if (systemScope) {
@@ -663,7 +667,9 @@ function boxRule(
663667
autoWildcard: false,
664668
});
665669
replaceExpr =
666-
typeof replace === 'function' ? replace : parseRulePart(ce, replace, options);
670+
typeof replace === 'function'
671+
? replace
672+
: parseRulePart(ce, replace, options);
667673
} finally {
668674
ce.popScope();
669675
}

src/compute-engine/compilation/gpu-target.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ export abstract class GPUShaderTarget implements LanguageTarget<Expression> {
304304
const allFunctions = this.getFunctions();
305305
const constants = this.getConstants();
306306

307-
308307
const target = this.createTarget({
309308
functions: (id) => {
310309
if (userFunctions && id in userFunctions) {

src/compute-engine/compilation/python-target.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,6 @@ export class PythonTarget implements LanguageTarget<Expression> {
377377
parameters: string[],
378378
docstring?: string
379379
): string {
380-
381380
const target = this.createTarget();
382381
const body = BaseCompiler.compile(expr, target);
383382

@@ -441,7 +440,6 @@ export class PythonTarget implements LanguageTarget<Expression> {
441440
* @param parameters - Parameter names
442441
*/
443442
compileLambda(expr: Expression, parameters: string[]): string {
444-
445443
const target = this.createTarget();
446444
const body = BaseCompiler.compile(expr, target);
447445

0 commit comments

Comments
 (0)