Skip to content

[BUG]: lint-local-code doesn't catch /mnt/ calls inside a function #3697

Open
@william-conti

Description

@william-conti

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Current code looks like the following:

%run ./_other_otebook
path = searchPath('/mnt/mnt_datalake_something/', rep) # searchPath is in other_notebook

However lint-local-code does not identify that /mnt/mnt_datalake_something is deprecated.

Expected Behavior

No response

Steps To Reproduce

No response

Cloud

AWS

Operating System

macOS

Version

latest via Databricks CLI

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    2026-BUGmigrate/pythonPull requests that update Python codepythonPull requests that update Python code

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions