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 7722578a1d7df..f399fc85240d4 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