Support for `jupyter.runStartupCommands`
indrex opened this issue · comments
Indresh Kumar commented
Environment:
- VSCode (latest)
- Jupyter and ruff extensions
Issue:
- Jupyter allows some commands to be run at startup
- This can be tested using
jupyter.runStartupCommands
in VSCode settings - If I import a module using this, it is not recognized by ruff
- It lints the import wondering where did it come from
Expected resolution:
- Look at the auto imports, or the available namespace variables
- Allow a setting to let ruff know of such imports?
Dhruv Manilawala commented
Related: astral-sh/ruff#9644