Skip to content

Commit eae9d10

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e11559e commit eae9d10

20 files changed

Lines changed: 20 additions & 38 deletions

plugin/examples/basic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@app.cell
88
def _():
99
print("In notebook.py")
10-
return
1110

1211

1312
if __name__ == "__main__":

plugin/examples/cw-test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def check_mount():
2727
print(f"{f}: {fp.read()[:100]}")
2828
else:
2929
print("Mount not ready")
30-
return
3130

3231

3332
if __name__ == "__main__":

plugin/examples/example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@app.cell
88
def _():
99
print("righto!")
10-
return
1110

1211

1312
if __name__ == "__main__":

plugin/examples/getting-started.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def _(mo):
1919
This notebook introduces marimo's **reactive execution model** — if you're
2020
coming from Jupyter, this is the key difference to understand.
2121
""")
22-
return
2322

2423

2524
@app.cell
@@ -49,7 +48,6 @@ def _(mo, slider):
4948
3. **No cell numbers** — Order on the page doesn't determine execution order
5049
"""
5150
)
52-
return
5351

5452

5553
@app.cell
@@ -63,7 +61,6 @@ def _(mo, slider):
6361
This cell depends on `slider.value`, so it updates automatically when you
6462
interact with the slider. marimo tracks these dependencies for you.
6563
""")
66-
return
6764

6865

6966
@app.cell(hide_code=True)
@@ -77,7 +74,6 @@ def _(mo):
7774
- **Run as an app** — Use `kubectl marimo run` to serve as a read-only
7875
dashboard
7976
""")
80-
return
8177

8278

8379
@app.cell

plugin/examples/gpu-getting-started.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ def matrix_multiply(n: int, device: str):
8383
3. **Share results** — cached data persists in storage, accessible
8484
across sessions
8585
""")
86-
return
8786

8887

8988
@app.cell
@@ -102,7 +101,6 @@ def _(mo):
102101
103102
See [marimo caching docs](https://docs.marimo.io/api/caching/) for more.
104103
""")
105-
return
106104

107105

108106
if __name__ == "__main__":

plugin/examples/with-cw.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def read_test_file(os):
4545
if os.path.exists("/home/marimo/notebooks/mounts")
4646
else "none",
4747
)
48-
return
4948

5049

5150
if __name__ == "__main__":

plugin/examples/with-sshfs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ def check_mount():
1818
mount_path = "/home/marimo/notebooks/mounts/sshfs-0"
1919
exists = os.path.exists(mount_path)
2020
os.listdir(mount_path) if exists else []
21-
return
2221

2322

2423
if __name__ == "__main__":

plugin/examples/with-storage.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ def check():
1616

1717
path = "/home/marimo/notebooks"
1818
os.listdir(path) if os.path.exists(path) else []
19-
return
2019

2120

2221
if __name__ == "__main__":

plugin/kubectl_marimo/delete.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
from .formats import parse_file
99
from .k8s import delete_resource, exec_in_pod, patch_resource
10-
from .resources import compute_hash, resource_name, detect_content_type
11-
from .swap import read_swap_file, delete_swap_file
10+
from .resources import compute_hash, detect_content_type, resource_name
11+
from .swap import delete_swap_file, read_swap_file
1212
from .sync import sync_local_mounts
1313

1414

plugin/kubectl_marimo/deploy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
from .formats import parse_file
1616
from .k8s import apply_resource, delete_resource, resource_exists
17-
from .resources import build_marimo_notebook, resource_name, compute_hash, to_yaml
18-
from .swap import read_swap_file, write_swap_file, create_swap_meta, delete_swap_file
17+
from .resources import build_marimo_notebook, compute_hash, resource_name, to_yaml
18+
from .swap import create_swap_meta, delete_swap_file, read_swap_file, write_swap_file
1919
from .sync import sync_notebook
2020

2121

0 commit comments

Comments
 (0)