diff --git a/docs/guides/configuration/runtime_configuration.md b/docs/guides/configuration/runtime_configuration.md index d16590ba776..989bd30ebba 100644 --- a/docs/guides/configuration/runtime_configuration.md +++ b/docs/guides/configuration/runtime_configuration.md @@ -115,7 +115,7 @@ pythonpath = ["project/src"] ``` This will make it easier to share your library code. For multiple packages, - consider confguring [uv workspaces](https://docs.astral.sh/uv/concepts/projects/workspaces/). + consider configuring [uv workspaces](https://docs.astral.sh/uv/concepts/projects/workspaces/). See our guide on [notebooks in existing projects](../package_management/notebooks_in_projects.md) for more details. diff --git a/docs/guides/editor_features/module_autoreloading.md b/docs/guides/editor_features/module_autoreloading.md index 5b36df1cf38..f1ad2279778 100644 --- a/docs/guides/editor_features/module_autoreloading.md +++ b/docs/guides/editor_features/module_autoreloading.md @@ -14,7 +14,7 @@ optionally, automatically run them. Based on static analysis, the reloader only runs cells affected by your edits. The reloader is recursive, meaning that marimo tracks modifications for modules -imported by your notebook's imported modules too. These two featuers make +imported by your notebook's imported modules too. These two features make marimo's module autoreloader far more advanced than IPython's. Autoreloading comes in two types: diff --git a/examples/third_party/cvxpy/regularization_and_sparsity.py b/examples/third_party/cvxpy/regularization_and_sparsity.py index 3ebc5550849..e6cf73dbcd7 100644 --- a/examples/third_party/cvxpy/regularization_and_sparsity.py +++ b/examples/third_party/cvxpy/regularization_and_sparsity.py @@ -156,7 +156,7 @@ def _(mo): The $\ell_1$ norm, when used as a regularizer, encourages solutions to be _sparse_: to have many zeros and only a few nonzeros. - A sparse regressor (if it is a good model) encodes which featuers + A sparse regressor (if it is a good model) encodes which features are important for making predictions, and which are not: If a component of $x$ is $0$, then the corresponding feature or measurement must not be important in making predictions. diff --git a/frontend/src/components/forms/__tests__/form-utils.test.ts b/frontend/src/components/forms/__tests__/form-utils.test.ts index 2c05b01b900..d872b86f0d1 100644 --- a/frontend/src/components/forms/__tests__/form-utils.test.ts +++ b/frontend/src/components/forms/__tests__/form-utils.test.ts @@ -189,7 +189,8 @@ describe("getDefaults", () => { const schema = z.object({ map: z.map(z.string(), z.number()).default(new Map([["a", 1]])), }); - const result = getDefaults(schema) as { map: Map }; + const defaults = getDefaults(schema); + const result = defaults as { map: Map }; expect(result.map instanceof Map).toBe(true); expect([...result.map.entries()]).toEqual([["a", 1]]); }); @@ -198,7 +199,8 @@ describe("getDefaults", () => { const schema = z.object({ set: z.set(z.string()).default(new Set(["a", "b"])), }); - const result = getDefaults(schema) as { set: Set }; + const defaults = getDefaults(schema); + const result = defaults as { set: Set }; expect(result.set instanceof Set).toBe(true); expect([...result.set]).toEqual(["a", "b"]); }); diff --git a/frontend/src/css/app/codemirror-completions.css b/frontend/src/css/app/codemirror-completions.css index 1a6b9c50155..7e598761f0b 100644 --- a/frontend/src/css/app/codemirror-completions.css +++ b/frontend/src/css/app/codemirror-completions.css @@ -247,7 +247,7 @@ .cm-completionInfo.cm-completionInfo-right-narrow { /* CodeMirror's default makes the completionInfo overlap with the - * compeletion symbol */ + * completion symbol */ left: 100%; } diff --git a/marimo/_ast/parse.py b/marimo/_ast/parse.py index 3bd8dda8955..e23622e86b7 100644 --- a/marimo/_ast/parse.py +++ b/marimo/_ast/parse.py @@ -169,9 +169,9 @@ def to_cell_def( # - Multiline statements need to be accounted for # - Painstaking testing can be found in test/_ast/test_{load, parse} - function_code_reult = self.extract_from_code(node) - violations = function_code_reult.violations - function_code = function_code_reult.unwrap() + function_code_result = self.extract_from_code(node) + violations = function_code_result.violations + function_code = function_code_result.unwrap() lineno_offset, col_offset = extract_offsets_post_colon( function_code, diff --git a/marimo/_cli/development/commands.py b/marimo/_cli/development/commands.py index 4f4231c96b2..d1a5eba5de4 100644 --- a/marimo/_cli/development/commands.py +++ b/marimo/_cli/development/commands.py @@ -295,7 +295,7 @@ class KnownUnions(msgspec.Struct): component_schemas[name] = converter.convert(cls, processed_classes) processed_classes[cls] = name - schemas_geneartor = SchemaGenerator( + schemas_generator = SchemaGenerator( { "openapi": "3.1.0", "info": {"title": "marimo API", "version": __version__}, @@ -307,7 +307,7 @@ class KnownUnions(msgspec.Struct): } ) - schemas = schemas_geneartor.get_schema(routes=build_routes()) + schemas = schemas_generator.get_schema(routes=build_routes()) # Find/replace #/$defs with #/components/schemas import json diff --git a/tests/_runtime/test_complete.py b/tests/_runtime/test_complete.py index 6953f6da750..087c38c7ba0 100644 --- a/tests/_runtime/test_complete.py +++ b/tests/_runtime/test_complete.py @@ -189,7 +189,7 @@ def test_parameter_descriptions(obj: Any, runtime_inference: bool): if path.startswith("marimo._save.save."): pytest.skip( "Cache functions use overloads to distinguish calls and context managers" - " this can be fixed by splitting docstring on per-oveload basis, but that" + " this can be fixed by splitting docstring on per-overload basis, but that" " is not yet supported by mkdocstrings for documentation rendering, see" " https://github.com/mkdocstrings/python/issues/135" )