Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

Turns on sql_linter to true by default (#6579)

Shahmir Varqha25df3e906713
diff --git a/frontend/src/core/codemirror/__tests__/format.test.ts b/frontend/src/core/codemirror/__tests__/format.test.ts
index f23f7e4980..2648683c57 100644
--- a/frontend/src/core/codemirror/__tests__/format.test.ts
+++ b/frontend/src/core/codemirror/__tests__/format.test.ts
@@ -3,6 +3,7 @@
import { python } from "@codemirror/lang-python";
import { EditorState } from "@codemirror/state";
import { EditorView } from "@codemirror/view";
+import { atom } from "jotai";
import { beforeEach, describe, expect, it, vi } from "vitest";
import { MockRequestClient } from "@/__mocks__/requests";
import type { NotebookState } from "@/core/cells/cells";
@@ -34,6 +35,11 @@ vi.mock("@/core/cells/utils", () => ({
vi.mock("@/core/config/config", () => ({
getResolvedMarimoConfig: vi.fn(),
+ resolvedMarimoConfigAtom: atom({
+ display: {
+ theme: "light",
+ },
+ }),
}));
const updateCellCode = vi.fn();
diff --git a/frontend/src/core/config/feature-flag.tsx b/frontend/src/core/config/feature-flag.tsx
index 580c238b92..2979fcabb1 100644
--- a/frontend/src/core/config/feature-flag.tsx
+++ b/frontend/src/core/config/feature-flag.tsx
@@ -25,7 +25,7 @@ const defaultValues: ExperimentalFeatures = {
rtc_v2: false,
performant_table_charts: false,
mcp_docs: false,
- sql_linter: false,
+ sql_linter: true,
external_agents: import.meta.env.DEV,
sql_mode: false,
};