Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

440 B
Raw Blame
critical[multiple-definitions]: Variable 'x' is defined in multiple cells
 --> tests/_lint/test_files/multiple_definitions.py:9:1
   9 |     print(1)
  10 |     x = 1
     |     ^
  11 |     return
   ...
  15 | def _():
  16 |     x = 2  # This should trigger MR001 - multiple definitions
     |     ^
  17 |     return
hint: Variables must be unique across cells. Alternatively, they can be private with an underscore prefix (i.e. `_x`.)