Skip to content

Commit 2aa17f8

Browse files
[pre-commit.ci] pre-commit autoupdate (#194)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Philipp A. <[email protected]>
1 parent f2403bb commit 2aa17f8

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
hooks:
1212
- id: prettier
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: v0.8.1
14+
rev: v0.8.2
1515
hooks:
1616
- id: ruff
1717
types_or: [python, pyi, jupyter]

docs/notebooks/tutorial_axes_anndata_mudata.ipynb

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -154,79 +154,79 @@
154154
"name": "stderr",
155155
"output_type": "stream",
156156
"text": [
157-
"\r",
157+
"\r\n",
158158
" 0%| | 0/2091 [00:00<?, ?it/s, 16.3MiB, filtered_feature_bc_matrix.h5, pbmc5k_citeseq]"
159159
]
160160
},
161161
{
162162
"name": "stderr",
163163
"output_type": "stream",
164164
"text": [
165-
"\r",
165+
"\r\n",
166166
" 0%| | 7/2091 [00:00<00:40, 52.00it/s, 16.3MiB, filtered_feature_bc_matrix.h5, pbmc5k_citeseq]"
167167
]
168168
},
169169
{
170170
"name": "stderr",
171171
"output_type": "stream",
172172
"text": [
173-
"\r",
173+
"\r\n",
174174
" 2%|▏ | 36/2091 [00:00<00:13, 146.98it/s, 16.3MiB, filtered_feature_bc_matrix.h5, pbmc5k_citeseq]"
175175
]
176176
},
177177
{
178178
"name": "stderr",
179179
"output_type": "stream",
180180
"text": [
181-
"\r",
181+
"\r\n",
182182
" 7%|▋ | 151/2091 [00:00<00:03, 509.45it/s, 16.3MiB, filtered_feature_bc_matrix.h5, pbmc5k_citeseq]"
183183
]
184184
},
185185
{
186186
"name": "stderr",
187187
"output_type": "stream",
188188
"text": [
189-
"\r",
189+
"\r\n",
190190
" 19%|█▉ | 401/2091 [00:00<00:01, 1194.28it/s, 16.3MiB, filtered_feature_bc_matrix.h5, pbmc5k_citeseq]"
191191
]
192192
},
193193
{
194194
"name": "stderr",
195195
"output_type": "stream",
196196
"text": [
197-
"\r",
197+
"\r\n",
198198
" 38%|███▊ | 791/2091 [00:00<00:00, 1407.51it/s, 16.3MiB, filtered_feature_bc_matrix.h5, pbmc5k_citeseq]"
199199
]
200200
},
201201
{
202202
"name": "stderr",
203203
"output_type": "stream",
204204
"text": [
205-
"\r",
205+
"\r\n",
206206
" 49%|████▉ | 1023/2091 [00:00<00:00, 1353.59it/s, 16.3MiB, filtered_feature_bc_matrix.h5, pbmc5k_citeseq]"
207207
]
208208
},
209209
{
210210
"name": "stderr",
211211
"output_type": "stream",
212212
"text": [
213-
"\r",
213+
"\r\n",
214214
" 87%|████████▋ | 1816/2091 [00:01<00:00, 1946.52it/s, 16.3MiB, filtered_feature_bc_matrix.h5, pbmc5k_citeseq]"
215215
]
216216
},
217217
{
218218
"name": "stderr",
219219
"output_type": "stream",
220220
"text": [
221-
"\r",
221+
"\r\n",
222222
" 98%|█████████▊| 2047/2091 [00:01<00:00, 1862.19it/s, 16.3MiB, filtered_feature_bc_matrix.h5, pbmc5k_citeseq]"
223223
]
224224
},
225225
{
226226
"name": "stderr",
227227
"output_type": "stream",
228228
"text": [
229-
"\r",
229+
"\r\n",
230230
"100%|██████████| 2091/2091 [00:01<00:00, 1536.82it/s, 16.3MiB, filtered_feature_bc_matrix.h5, pbmc5k_citeseq]"
231231
]
232232
},
@@ -764,7 +764,7 @@
764764
},
765765
{
766766
"cell_type": "code",
767-
"execution_count": 22,
767+
"execution_count": null,
768768
"metadata": {},
769769
"outputs": [
770770
{
@@ -778,9 +778,9 @@
778778
}
779779
],
780780
"source": [
781-
"print(\"Total number of cells %i and genes %r for raw rna anndata\" % (rna_raw.n_obs, rna_raw.n_vars))\n",
782-
"print(\"Total number of cells %i and genes %r for preprocessed rna_a anndata\" % (rna_a.n_obs, rna_a.n_vars))\n",
783-
"print(\"Total number of cells %i and genes %r for preprocessed rna_a anndata\" % (rna_b.n_obs, rna_b.n_vars))"
781+
"print(f\"Total number of cells {rna_raw.n_obs} and genes {rna_raw.n_vars} for raw rna anndata\")\n",
782+
"print(f\"Total number of cells {rna_a.n_obs} and genes {rna_a.n_vars} for preprocessed rna_a anndata\")\n",
783+
"print(f\"Total number of cells {rna_b.n_obs} and genes {rna_b.n_vars} for preprocessed rna_a anndata\")"
784784
]
785785
},
786786
{

0 commit comments

Comments
 (0)