From 23dfabe61cda84c4b10113595383ee3a00122ab3 Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Thu, 9 Jan 2025 09:03:46 -0700 Subject: [PATCH] fixing disabled lines --- .../plugins/legacy-preset-chart-deckgl/src/utils/sandbox.ts | 4 ++-- tests/unit_tests/models/core_test.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/superset-frontend/plugins/legacy-preset-chart-deckgl/src/utils/sandbox.ts b/superset-frontend/plugins/legacy-preset-chart-deckgl/src/utils/sandbox.ts index 088697b45af6e..f9accf445dec9 100644 --- a/superset-frontend/plugins/legacy-preset-chart-deckgl/src/utils/sandbox.ts +++ b/superset-frontend/plugins/legacy-preset-chart-deckgl/src/utils/sandbox.ts @@ -19,9 +19,9 @@ // A safe alternative to JS's eval import vm, { Context, RunningScriptOptions } from 'vm'; import _ from 'underscore'; -/* eslint-ignore-next-line no-restricted-syntax */ +/* eslint-disable-next-line no-restricted-syntax */ import * as d3array from 'd3-array'; -/* eslint-ignore-next-line no-restricted-syntax */ +/* eslint-disable-next-line no-restricted-syntax */ import * as colors from './colors'; // Objects exposed here should be treated like a public API diff --git a/tests/unit_tests/models/core_test.py b/tests/unit_tests/models/core_test.py index 5bc3c86af657a..e71206b97b065 100644 --- a/tests/unit_tests/models/core_test.py +++ b/tests/unit_tests/models/core_test.py @@ -17,6 +17,7 @@ # pylint: disable=import-outside-toplevel + from datetime import datetime import pytest