Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Commit 4602696

Browse files
committed
Fixing ipynb lint again. shakes-fist-at-pycharm
1 parent e6b81c0 commit 4602696

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

tests/utils/test_save.ipynb

+15-17
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"execution_count": 1,
66
"metadata": {
77
"execution": {
8-
"iopub.execute_input": "2023-07-13T20:04:23.425791Z",
9-
"iopub.status.busy": "2023-07-13T20:04:23.425682Z",
10-
"iopub.status.idle": "2023-07-13T20:04:23.436620Z",
11-
"shell.execute_reply": "2023-07-13T20:04:23.436325Z"
8+
"iopub.execute_input": "2023-02-13T14:11:29.261665Z",
9+
"iopub.status.busy": "2023-02-13T14:11:29.261394Z",
10+
"iopub.status.idle": "2023-02-13T14:11:29.267566Z",
11+
"shell.execute_reply": "2023-02-13T14:11:29.266734Z"
1212
},
1313
"pycharm": {
1414
"name": "#%%\n"
@@ -17,10 +17,8 @@
1717
"outputs": [],
1818
"source": [
1919
"import numpy as np\n",
20-
"import regex\n",
2120
"\n",
22-
"def use_modules():\n",
23-
" regex.split(' ', 'brown fox')\n",
21+
"def func(data):\n",
2422
" return bool(np.all([True]))\n"
2523
]
2624
},
@@ -29,12 +27,13 @@
2927
"execution_count": 2,
3028
"metadata": {
3129
"execution": {
32-
"iopub.execute_input": "2023-07-13T20:04:23.438339Z",
33-
"iopub.status.busy": "2023-07-13T20:04:23.438249Z",
34-
"iopub.status.idle": "2023-07-13T20:04:24.532574Z",
35-
"shell.execute_reply": "2023-07-13T20:04:24.532277Z"
30+
"iopub.execute_input": "2023-02-13T14:11:29.270506Z",
31+
"iopub.status.busy": "2023-02-13T14:11:29.270233Z",
32+
"iopub.status.idle": "2023-02-13T14:11:29.969468Z",
33+
"shell.execute_reply": "2023-02-13T14:11:29.968705Z"
3634
},
3735
"pycharm": {
36+
"is_executing": true,
3837
"name": "#%%\n"
3938
}
4039
},
@@ -43,17 +42,16 @@
4342
"name": "stdout",
4443
"output_type": "stream",
4544
"text": [
46-
"regex==2023.6.3\n",
47-
"numpy==1.25.1\n"
45+
"numpy==1.22.4\n"
4846
]
4947
}
5048
],
5149
"source": [
5250
"from mlem.utils.module import get_object_requirements\n",
5351
"\n",
54-
"res = get_object_requirements(use_modules)\n",
52+
"res = get_object_requirements(func)\n",
5553
"\n",
56-
"print(\"\\n\".join(res.to_pip()))"
54+
"print(\" \".join(res.to_pip()))"
5755
]
5856
}
5957
],
@@ -73,9 +71,9 @@
7371
"name": "python",
7472
"nbconvert_exporter": "python",
7573
"pygments_lexer": "ipython3",
76-
"version": "3.10.9"
74+
"version": "3.9.13"
7775
}
7876
},
7977
"nbformat": 4,
8078
"nbformat_minor": 0
81-
}
79+
}

0 commit comments

Comments
 (0)