Skip to content

Commit 9e3c9ef

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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

marimo/_cli/upgrade.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33

44
import json
55
import os
6-
import psutil
76
import urllib.error
87
from datetime import datetime
98
from typing import Any, Callable, cast
109

10+
import psutil
11+
1112
import marimo._utils.requests as requests
1213
from marimo import _loggers
1314
from marimo._cli.print import echo, green, orange

tests/_cli/test_upgrade.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ def test_check_for_updates(
3737
"0.1.0 → 0.1.2" in call[0][0] for call in mock_echo.call_args_list
3838
)
3939
assert any(
40-
" --upgrade marimo" in call[0][0]
41-
for call in mock_echo.call_args_list
40+
" --upgrade marimo" in call[0][0] for call in mock_echo.call_args_list
4241
)
4342

4443

0 commit comments

Comments
 (0)