ruff/crates/ruff_notebook/resources/test/fixtures/jupyter/undefined_name.ipynb

60 lines
1.0 KiB
Plaintext

{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "a0efffbc-85f1-4513-bf49-5387ec3a2a4e",
"metadata": {},
"outputs": [],
"source": [
"colors = 6"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "6e0b2b50-43f2-4f59-951d-9404dd560ae4",
"metadata": {
"is_executing": true
},
"outputs": [],
"source": [
"print(colors)"
]
},
{
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"print(undefined)"
],
"metadata": {
"collapsed": false
},
"id": "884e0e4e686fd56"
}
],
"metadata": {
"kernelspec": {
"display_name": "Python (ruff)",
"language": "python",
"name": "ruff"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}