Skip to content

[BUG]: lint-local-code command does not recognize local directory in windows #3687

Open
@sreekanthmunigati

Description

@sreekanthmunigati

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

lint-local-code command does not recognize local directory in windows but it works find if you give the full path to a single file.

Image

Image

Expected Behavior

lint-local-code command should lint the local directory with python files as documented. It works fine in macOS but not on Windows laptop.

Steps To Reproduce

  1. Install UCX on windows laptop
  2. run databricks labs ucx lint-local-code
  3. and select the default directory

Cloud

AWS

Operating System

Windows

Version

latest via Databricks CLI

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    2026-BUGmigrate/codeAbstract Syntax Trees and other dark magic

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions