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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
Add automatic typo checking (#559)
Pavel Zwerschke7768cfea1dcc
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yamlindex 8c702d7572..8beca1fcf4 100644--- a/.github/workflows/test.yaml+++ b/.github/workflows/test.yaml@@ -100,3 +100,10 @@ jobs:uses: codecov/codecov-action@v3env:CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}++ typos:+ name: Check for typos+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - uses: crate-ci/[email protected]diff --git a/docs/recipes.md b/docs/recipes.mdindex 80b38b22ca..de95f23621 100644--- a/docs/recipes.md+++ b/docs/recipes.md@@ -216,7 +216,7 @@ import marimo as mo2. Create an HTML template, and use [`Html.batch`](api/html.md#marimo.Html.batch)to interpolate UI elements into it to create a new UI element batching the-consituent ones (like `mo.ui.dictionary`).+constituent ones (like `mo.ui.dictionary`).```python# n_items, checkboxes, and texts are just example data: replace them@@ -285,7 +285,7 @@ import marimo as mo2. Create an HTML template, and use [`Html.batch`](api/html.md#marimo.Html.batch)to interpolate UI elements into it to create a new UI element batching the-consituent ones (like `mo.ui.dictionary`).+constituent ones (like `mo.ui.dictionary`).```pythonimport random@@ -433,7 +433,7 @@ buttonmo.md("True!") if button.value else mo.md("False!")```-### Re-run a cell when a buton is pressed+### Re-run a cell when a button is pressed**Use cases.** For example, you have a cell showing a random sample of data,and you want to resample on button press.diff --git a/examples/arrays_and_dicts.py b/examples/arrays_and_dicts.pyindex bf35b0f41f..b021e535bf 100644--- a/examples/arrays_and_dicts.py+++ b/examples/arrays_and_dicts.py@@ -19,7 +19,7 @@ def __(mo):Because UI elements must be assigned to global variables,these functions are required when the set of elements to create is not- known unitl runtime.+ known until runtime.""")returndiff --git a/examples/optimization/signals/modules/explainer.py b/examples/optimization/signals/modules/explainer.pyindex 3fcb457e6e..4569c9256e 100644--- a/examples/optimization/signals/modules/explainer.py+++ b/examples/optimization/signals/modules/explainer.py@@ -46,7 +46,7 @@ def explainer(component: str) -> Optional[str]:LIB.AVERAGE_EQUAL: (f"""The **{component}** class creates a component that has a given- average value (which you specifiy). Typically used as part of+ average value (which you specify). Typically used as part ofan aggregate."""),diff --git a/examples/optimization/signals/modules/problems.py b/examples/optimization/signals/modules/problems.pyindex dfdf3e60da..3b4abebeca 100644--- a/examples/optimization/signals/modules/problems.py+++ b/examples/optimization/signals/modules/problems.py@@ -142,7 +142,7 @@ class MaunaLoa(OSDProblem):data that captures the seasonality and trend.Seasonal-trend decompositions are widely used- in weather and evironment-related applications,+ in weather and environment-related applications,as well as in economics.""").callout(kind="success")@@ -391,7 +391,7 @@ class ChangePoint(OSDProblem):f"""🎉 **You did it!**- You just deteced some change points. Every time the non-noise+ You just detected some change points. Every time the non-noisecomponent jumps is a change point. (If the component doesn'tlook piecewise-constant, you may need to adjust the weights.)diff --git a/examples/third_party/plotly_image_selection.py b/examples/third_party/plotly_image_selection.pyindex 3ccf00e643..b940474f3e 100644--- a/examples/third_party/plotly_image_selection.py+++ b/examples/third_party/plotly_image_selection.py@@ -58,7 +58,7 @@ def __(mo, plot):@app.celldef __(mo):- mo.md("#Example: Image with overlayed trace")+ mo.md("#Example: Image with overlaid trace")returndiff --git a/frontend/src/components/data-table/columns.tsx b/frontend/src/components/data-table/columns.tsxindex af17bebc19..32acb6e0cc 100644--- a/frontend/src/components/data-table/columns.tsx+++ b/frontend/src/components/data-table/columns.tsx@@ -25,7 +25,7 @@ export function getColumnInfo<T>(items: T[]): ColumnInfo[] {if (typeof item !== "object") {return;}- // We will be a bit defensive and assume values are not homogenous.+ // We will be a bit defensive and assume values are not homogeneous.// If any is a mimetype, then we will treat it as a mimetype (i.e. not sortable)Object.entries(item as object).forEach(([key, value]) => {const currentValue = keys.get(key);diff --git a/frontend/src/components/editor/CommandPallette.tsx b/frontend/src/components/editor/CommandPalette.tsxsimilarity index 96%rename from frontend/src/components/editor/CommandPallette.tsxrename to frontend/src/components/editor/CommandPalette.tsxindex e2210325e0..29a9d15eec 100644--- a/frontend/src/components/editor/CommandPallette.tsx+++ b/frontend/src/components/editor/CommandPalette.tsx@@ -19,10 +19,10 @@ import { atom, useAtom } from "jotai";import { useNotebookActions } from "./actions/useNotebookActions";import { Objects } from "@/utils/objects";-export const commandPalletteAtom = atom(false);+export const commandPaletteAtom = atom(false);-export const CommandPallette = () => {- const [open, setOpen] = useAtom(commandPalletteAtom);+export const CommandPalette = () => {+ const [open, setOpen] = useAtom(commandPaletteAtom);const registeredActions = useRegisteredActions();const notebookActions = useNotebookActions();const notebookActionsWithoutHotkeys = notebookActions.filter(diff --git a/frontend/src/components/editor/actions/useNotebookActions.tsx b/frontend/src/components/editor/actions/useNotebookActions.tsxindex c18f9493c3..02ca5947e8 100644--- a/frontend/src/components/editor/actions/useNotebookActions.tsx+++ b/frontend/src/components/editor/actions/useNotebookActions.tsx@@ -12,7 +12,7 @@ import {ClipboardCopyIcon,Share2Icon,} from "lucide-react";-import { commandPalletteAtom } from "../CommandPallette";+import { commandPaletteAtom } from "../CommandPalette";import {disabledCellIds,enabledCellIds,@@ -34,7 +34,7 @@ export function useNotebookActions() {const notebook = useNotebook();const { updateCellConfig } = useCellActions();- const setCommandPalletteOpen = useSetAtom(commandPalletteAtom);+ const setCommandPaletteOpen = useSetAtom(commandPaletteAtom);const disabledCells = disabledCellIds(notebook);const enabledCells = enabledCellIds(notebook);@@ -128,7 +128,7 @@ export function useNotebookActions() {icon: <CommandIcon size={14} strokeWidth={1.5} />,label: "Command palette",hotkey: "global.commandPalette",- handle: () => setCommandPalletteOpen((open) => !open),+ handle: () => setCommandPaletteOpen((open) => !open),},{diff --git a/frontend/src/components/editor/output/Outputs.css b/frontend/src/components/editor/output/Outputs.cssindex a73a29251e..2aca7010dc 100644--- a/frontend/src/components/editor/output/Outputs.css+++ b/frontend/src/components/editor/output/Outputs.css@@ -55,7 +55,7 @@padding-top: 2px;padding-bottom: 2px;- /* content-visiblity is set by material UI;+ /* content-visibility is set by material UI;* when set on an element that has overflow auto, causes abrupt jumps when* scrolling in Chrome */content-visibility: unset;diff --git a/frontend/src/components/editor/renderers/CellArray.tsx b/frontend/src/components/editor/renderers/CellArray.tsxindex d1f148a0fe..54a28d595f 100644--- a/frontend/src/components/editor/renderers/CellArray.tsx+++ b/frontend/src/components/editor/renderers/CellArray.tsx@@ -18,7 +18,7 @@ import { useEvent } from "../../../hooks/useEvent";import { formatAll } from "../../../core/codemirror/format";import { useTheme } from "../../../theme/useTheme";import { VerticalLayoutWrapper } from "./vertical-layout/vertical-layout-wrapper";-import { useDelayVisibility } from "./vertical-layout/useDelayVisiblity";+import { useDelayVisibility } from "./vertical-layout/useDelayVisibility";import { useChromeActions } from "../chrome/state";import { Functions } from "@/utils/functions";diff --git a/frontend/src/components/editor/renderers/vertical-layout/useDelayVisiblity.ts b/frontend/src/components/editor/renderers/vertical-layout/useDelayVisibility.tssimilarity index 100%rename from frontend/src/components/editor/renderers/vertical-layout/useDelayVisiblity.tsrename to frontend/src/components/editor/renderers/vertical-layout/useDelayVisibility.tsdiff --git a/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx b/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsxindex 00bef2fa24..a7b6426835 100644--- a/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx+++ b/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx@@ -6,7 +6,7 @@ import { OutputArea } from "@/components/editor/Output";import { ICellRendererPlugin, ICellRendererProps } from "../types";import { VerticalLayoutWrapper } from "./vertical-layout-wrapper";import { z } from "zod";-import { useDelayVisibility } from "./useDelayVisiblity";+import { useDelayVisibility } from "./useDelayVisibility";import { AppMode } from "@/core/mode";import { ReadonlyPythonCode } from "@/components/editor/code/readonly-python-code";import { Code2Icon } from "lucide-react";diff --git a/frontend/src/core/MarimoApp.tsx b/frontend/src/core/MarimoApp.tsxindex b39316b5d0..c364aa0a22 100644--- a/frontend/src/core/MarimoApp.tsx+++ b/frontend/src/core/MarimoApp.tsx@@ -9,7 +9,7 @@ import { TooltipProvider } from "../components/ui/tooltip";import { Toaster } from "../components/ui/toaster";import { ModalProvider } from "../components/modal/ImperativeModal";import { DayPickerProvider } from "react-day-picker";-import { CommandPallette } from "../components/editor/CommandPallette";+import { CommandPalette } from "../components/editor/CommandPalette";import { useAppConfig, useUserConfig } from "@/core/config/config";import { initialMode } from "./mode";import { AppChrome } from "../components/editor/chrome/wrapper/app-chrome";@@ -38,7 +38,7 @@ export const MarimoApp: React.FC = () => {<AppChrome><App userConfig={userConfig} appConfig={appConfig} /><Toaster />- <CommandPallette />+ <CommandPalette /></AppChrome>);diff --git a/frontend/src/core/cells/__tests__/cells.test.ts b/frontend/src/core/cells/__tests__/cells.test.tsindex 4b67a5aa8e..d42cc81ed1 100644--- a/frontend/src/core/cells/__tests__/cells.test.ts+++ b/frontend/src/core/cells/__tests__/cells.test.ts@@ -273,7 +273,7 @@ describe("cell reducer", () => {expect(cell.runStartTimestamp).toBe(20);expect(cell).toMatchSnapshot(); // snapshot everything as a catch all- // Console messags shouldn't transition status+ // Console messages shouldn't transition statusactions.handleCellMessage({cellId: firstCellId,message: {diff --git a/frontend/src/core/kernel/RuntimeState.ts b/frontend/src/core/kernel/RuntimeState.tsindex 4a4679a7e1..0c148b679d 100644--- a/frontend/src/core/kernel/RuntimeState.ts+++ b/frontend/src/core/kernel/RuntimeState.ts@@ -88,7 +88,7 @@ export class RuntimeState {})).filter((update) => update.value !== undefined)).catch(() => {- // This happens if the run was failed ot register (401, 403, network error, etc.)+ // This happens if the run was failed to register (401, 403, network error, etc.)// If the run fails, restore the components to update and finish the run// A run may fail if the kernel is restarted or the notebook is closed,// but if we don't restore registerRunEnd() will never be able to flush updates.diff --git a/frontend/src/css/codemirror.css b/frontend/src/css/codemirror.cssindex 61fb360b0e..256d3e95b0 100644--- a/frontend/src/css/codemirror.css+++ b/frontend/src/css/codemirror.css@@ -105,7 +105,7 @@/* -- Completion Info -- */-/* Compeltion Symbol */+/* Compeletion Symbol */#App .cm-tooltip-autocomplete {/* CodeMirror's default is too wide. */max-width: 200px;@@ -132,7 +132,7 @@#App .cm-completionInfo.cm-completionInfo-right-narrow {/* CodeMirror's default makes the completionInfo overlap with the- * compeltion symbol */+ * compeletion symbol */left: 100%;}diff --git a/marimo/_ast/app.py b/marimo/_ast/app.pyindex 4e1e7f6f39..7be1869845 100644--- a/marimo/_ast/app.py+++ b/marimo/_ast/app.py@@ -220,7 +220,7 @@ class App:# ids of cells to add to the graph, in the order that they# were registered with the appself._cell_ids = [- # exclude unparseable cells from graph+ # exclude unparsable cells from graphcell_data.cell_idfor cell_data in self._cell_data.values()if cell_data.cell_function is not None@@ -294,7 +294,7 @@ class App:tuple(outputs[cid]for cid in self._registration_order- # exclude unparseable cells+ # exclude unparsable cellsif cid in outputs),{name: glbls[name] for name in self._defs},diff --git a/marimo/_ast/cell.py b/marimo/_ast/cell.pyindex b46a966b4c..2ce8de6b1f 100644--- a/marimo/_ast/cell.py+++ b/marimo/_ast/cell.py@@ -99,7 +99,7 @@ class Cell:# Mutable fields# config: explicit configuration of cellconfig: CellConfig = dataclasses.field(default_factory=CellConfig)- # staus: status, inferred at runtime+ # status: status, inferred at runtime_status: CellStatus = dataclasses.field(default_factory=CellStatus)def configure(self, update: dict[str, Any] | CellConfig) -> Cell:diff --git a/marimo/_ast/codegen.py b/marimo/_ast/codegen.pyindex e5b3e6b0b0..cbabc39aad 100644--- a/marimo/_ast/codegen.py+++ b/marimo/_ast/codegen.py@@ -56,7 +56,7 @@ def to_functiondef(cell: Cell, name: str, unshadowed_builtins: Optional[set[Name]] = None) -> str:# unshadowed builtins is the set of builtins that haven't been- # overriden (shadowed) by other cells in the app. These names+ # overridden (shadowed) by other cells in the app. These names# should not be taken as args by a cell's functiondef (since they are# already in globals)if unshadowed_builtins is None:@@ -90,7 +90,7 @@ def to_functiondef(return fndef-def generate_unparseable_cell(+def generate_unparsable_cell(code: str, name: Optional[str], config: CellConfig) -> str:# escape double quotes to not interfere with string@@ -162,7 +162,7 @@ def generate_filecontents(fndefs.append(to_functiondef(data, name, unshadowed_builtins))else:fndefs.append(- generate_unparseable_cell(+ generate_unparsable_cell(code=data[0], config=data[1], name=name))diff --git a/marimo/_loggers.py b/marimo/_loggers.pyindex d0949bfbe3..a4d5cff96f 100644--- a/marimo/_loggers.py+++ b/marimo/_loggers.py@@ -39,7 +39,7 @@ def set_level(level: str | int = logging.WARN) -> None:logging.ERROR,logging.CRITICAL,]:- raise ValueError("Unrecongized log level %s" % level)+ raise ValueError("Unrecognized log level %s" % level)else:_LOG_LEVEL = leveldiff --git a/marimo/_plugins/ui/_impl/altair_chart.py b/marimo/_plugins/ui/_impl/altair_chart.pyindex 87a39d9a1a..967a05e662 100644--- a/marimo/_plugins/ui/_impl/altair_chart.py+++ b/marimo/_plugins/ui/_impl/altair_chart.py@@ -166,7 +166,7 @@ class altair_chart(UIElement[ChartSelection, "pd.DataFrame"]):`"point"`, `"interval"`, or a bool; defaults to `True` which willautomatically detect the best selection type- `legend_selection`: optional list of legend fields (columns) for which to- enable selecton, `True` to enable selection for all fields, or+ enable selection, `True` to enable selection for all fields, or`False` to disable selection entirely- `label`: optional text label for the element- `on_change`: optional callback to run when this element's value changesdiff --git a/marimo/_runtime/cell_runner.py b/marimo/_runtime/cell_runner.pyindex 2c876c51fa..e996f7fe2e 100644--- a/marimo/_runtime/cell_runner.py+++ b/marimo/_runtime/cell_runner.py@@ -85,7 +85,7 @@ class RunResult:exception: Optional[Exception | MarimoInterrupt | MarimoStopError]def success(self) -> bool:- """Whether the cell exected successfully"""+ """Whether the cell expected successfully"""return self.exception is None@@ -176,7 +176,7 @@ class Runner:(3) means that a state update in a given cell will never re-triggerthe same cell to run. This is similar to how interacting witha UI element in the cell that created it won't re-trigger the cell,- and this behavior is useful when tieing UI elements together with a+ and this behavior is useful when tying UI elements together with astate object.**Arguments.**diff --git a/marimo/_runtime/runtime.py b/marimo/_runtime/runtime.pyindex 841e283d37..d9f5f72e69 100644--- a/marimo/_runtime/runtime.py+++ b/marimo/_runtime/runtime.py@@ -563,7 +563,7 @@ class Kernel:LOGGER.debug("preparing to evaluate cells %s", cell_ids)# Status updates: cells transition to queued, except for- # cells that are disabled (explicity or implicitly).+ # cells that are disabled (explicitly or implicitly).for cid in cell_ids:if self.graph.is_disabled(cid):self.graph.cells[cid].set_status(status="stale")diff --git a/marimo/_runtime/virtual_file.py b/marimo/_runtime/virtual_file.pyindex b22dfb1aa3..2897b08f7b 100644--- a/marimo/_runtime/virtual_file.py+++ b/marimo/_runtime/virtual_file.py@@ -99,7 +99,7 @@ class VirtualFileLifecycleItem(CellLifecycleItem):def dispose(self, context: "RuntimeContext", deletion: bool) -> bool:# Remove the file if the refcount is 0, or if the cell is being# deleted. (We can't rely on when the refcount will be decremented, so- # we need to check for deletion explictly to prevent leaks.)+ # we need to check for deletion explicitly to prevent leaks.)if deletion or (context.virtual_file_registry.refcount(self.virtual_file.filename)<= 0@@ -172,7 +172,7 @@ class VirtualFileRegistry:# Immediately writes the contents of the file to an in-memory# buffer; not lazy.#- # To retrieve the buffer from another proces, use:+ # To retrieve the buffer from another process, use:## ```# try:@@ -195,7 +195,7 @@ class VirtualFileRegistry:# (destroys) the shared_memory:# https://stackoverflow.com/questions/63713241/segmentation-fault-using-python-shared-memory/63717188#63717188shm.close()- # We hav to keep a reference to the shared memory to prevent it from+ # We have to keep a reference to the shared memory to prevent it from# being destroyed on Windowsself.registry[key] = VirtualFileRegistryItem(shm=shm, refcount=0)diff --git a/marimo/_server/api/set_cell_config.py b/marimo/_server/api/set_cell_config.pyindex aadd26b870..72c9c0ad80 100644--- a/marimo/_server/api/set_cell_config.py+++ b/marimo/_server/api/set_cell_config.py@@ -13,7 +13,7 @@ from marimo._utils.parse_dataclass import parse_raw@dataclassclass SetCellConfig:- # Map from Cell ID to (possibily partial) CellConfig+ # Map from Cell ID to (possibly partial) CellConfigconfigs: Dict[CellId_t, Dict[str, object]]diff --git a/marimo/_server/layout.py b/marimo/_server/layout.pyindex 26c8572ecb..3c03a0b4fb 100644--- a/marimo/_server/layout.py+++ b/marimo/_server/layout.py@@ -27,7 +27,7 @@ def save_layout_config(at the given directory.The layout is saved as a JSON file under- <directory>/layouts/<app_nam>.{type}.json+ <directory>/layouts/<app_name>.{type}.jsonThis allows:- all layouts to be saved in the same directory- multiple layouts to be saved for the same appdiff --git a/marimo/_tutorials/ui.py b/marimo/_tutorials/ui.pyindex 14b6dd198e..fad89c1622 100644--- a/marimo/_tutorials/ui.py+++ b/marimo/_tutorials/ui.py@@ -57,7 +57,7 @@ def __(mo):bound to the UI element, but don't define it, will run.This simple rule lets you use UI elements to- drive the exectution of your program, letting you build+ drive the execution of your program, letting you buildinteractive notebooks and tools for yourselves and others.""")@@ -270,7 +270,7 @@ def __(mo):def __(get_counter, mo):mo.md(f"""- Acccess the value of the state via its getter: `get_counter()`+ Access the value of the state via its getter: `get_counter()`returned **{get_counter()}**""")diff --git a/marimo/_utils/flatten.py b/marimo/_utils/flatten.pyindex 18ae8cfe65..a6b87c5161 100644--- a/marimo/_utils/flatten.py+++ b/marimo/_utils/flatten.py@@ -5,8 +5,8 @@ Adapted from https://github.com/ericmjl/pyflatten/tree/master; changedto handle generic leaf data types and minimize recursion stack depth.TODO(akshayka): if this becomes a bottleneck, use a library like dm-tree-(this implementation wil be slow large structures); as of writing, installation-of dm-tree on macOS is buggy+(this implementation will be slow large structures); as of writing,+installation of dm-tree on macOS is buggy"""from __future__ import annotations@@ -169,7 +169,7 @@ def flatten(value: Any, json_compat_keys: bool = False) -> FLATTEN_RET_TYPE:Returns the structure flattened and a repacking function.- Repacing function expects a flat list of the same length as+ Replacing function expects a flat list of the same length asthe flattened structure.Usage:diff --git a/pyproject.toml b/pyproject.tomlindex 5b03645e3b..49bbf9aa0d 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -166,3 +166,11 @@ testpaths = [[tool.coverage.run]omit = ["marimo/_tutorials/*"]++[tool.typos.default.extend-words]+wheres = "wheres"++[tool.typos.files]+extend-exclude = [+ "MultiSelectPlugin.test.ts"+]diff --git a/tests/_ast/test_codegen.py b/tests/_ast/test_codegen.pyindex d0a6223be7..be55124296 100644--- a/tests/_ast/test_codegen.py+++ b/tests/_ast/test_codegen.py@@ -88,9 +88,9 @@ class TestGeneration:)@staticmethod- def test_generate_unparseable_cell() -> None:+ def test_generate_unparsable_cell() -> None:code = " error\n\\t"- raw = codegen.generate_unparseable_cell(code, None, CellConfig())+ raw = codegen.generate_unparsable_cell(code, None, CellConfig())stringified = eval("\n".join(raw.split("\n")[1:5])).split("\n")# first line emptyassert not stringified[0]@@ -370,7 +370,7 @@ class TestToFunctionDef:def test_recover() -> None:cells = {"cells": [- {"name": "a", "code": '"santa"\n\n"claus"\n\n\n'},+ {"name": "a", "code": '"santa"\n\n"clause"\n\n\n'},{"name": "b", "code": ""},{"name": "c", "code": "\n123"},]@@ -390,7 +390,7 @@ def test_recover() -> None:os.remove(tempfile_name)codes = [- "\n".join(['"santa"', "", '"claus"', "", "", ""]),+ "\n".join(['"santa"', "", '"clause"', "", "", ""]),"","\n".join(["", "123"]),]diff --git a/tests/_plugins/ui/_impl/dataframes/test_handlers.py b/tests/_plugins/ui/_impl/dataframes/test_handlers.pyindex 63fe780dc2..ea8fa6f12d 100644--- a/tests/_plugins/ui/_impl/dataframes/test_handlers.py+++ b/tests/_plugins/ui/_impl/dataframes/test_handlers.py@@ -197,7 +197,7 @@ def test_handle_filter_rows_multiple_conditions_2() -> None:assert result["B"].tolist() == [5, 3, 2, 1]-def test_handle_fitler_rows_boolean() -> None:+def test_handle_filter_rows_boolean() -> None:df = pd.DataFrame({"A": [True, False, True, False]})transform = FilterRowsTransform(type=TransformType.FILTER_ROWS,diff --git a/tests/_runtime/test_state.py b/tests/_runtime/test_state.pyindex 2d6ca1f9ca..e23c3a3561 100644--- a/tests/_runtime/test_state.py+++ b/tests/_runtime/test_state.py@@ -127,7 +127,7 @@ def test_cancelled_not_run(k: Kernel, exec_req: ExecReqProvider) -> None:assert "y" not in k.globals-def test_set_state_with_overriden_eq(+def test_set_state_with_overridden_eq(k: Kernel, exec_req: ExecReqProvider) -> None:create_class = """diff --git a/tests/_utils/test_parse_dataclass.py b/tests/_utils/test_parse_dataclass.pyindex 88ba65afd4..71c96ab386 100644--- a/tests/_utils/test_parse_dataclass.py+++ b/tests/_utils/test_parse_dataclass.py@@ -192,7 +192,7 @@ class TestParseRaw:parsed = parse_raw(serialize({"config": "invalid"}), Nested)assert "invalid" in str(e.value)- def test_descriminated_union(self) -> None:+ def test_discriminated_union(self) -> None:@dataclassclass Nested:config: Union[Dog, Cat]