saurabh18cs
Honored Contributor III

you're using ruff for linting. The issue with Databricks magic commands (%sql%pip%run) is that they're Databricks-specific syntax, not standard Python, so ruff treats them as errors. you should exclude databricks notebook from ruff.

View solution in original post