Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guides/configuration/runtime_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/editor_features/module_autoreloading.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/forms/__tests__/form-utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, number> };
const defaults = getDefaults(schema);
const result = defaults as { map: Map<string, number> };
expect(result.map instanceof Map).toBe(true);
expect([...result.map.entries()]).toEqual([["a", 1]]);
});
Expand All @@ -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<string> };
const defaults = getDefaults(schema);
const result = defaults as { set: Set<string> };
expect(result.set instanceof Set).toBe(true);
expect([...result.set]).toEqual(["a", "b"]);
});
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/css/app/codemirror-completions.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
}

Expand Down
6 changes: 3 additions & 3 deletions marimo/_ast/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions marimo/_cli/development/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__},
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/_runtime/test_complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
Loading