Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint-local-code should be able to accept Workspace paths #3717

Open
1 task done
william-conti opened this issue Feb 19, 2025 · 0 comments
Open
1 task done

lint-local-code should be able to accept Workspace paths #3717

william-conti opened this issue Feb 19, 2025 · 0 comments

Comments

@william-conti
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

At the moment lint-local-code requires us to locally clone the code we would like to lint on the local machine. As our customer doesn't code anything locally, it complexifies the migration.

At the moment the command fails with below error

➜ ~ databricks labs ucx lint-local-code
Executing CLI v0.240.0...

Which file or directory do you want to lint? (default: /Users/william.conti): /Workspace/Users/william.conti/notebook
Which file or directory do you want to lint? (default: /Users/william.conti): /Workspace/Users/william.conti/notebook
Which file or directory do you want to lint? (default: /Users/william.conti): /Workspace/Users/william.conti/notebook
Which file or directory do you want to lint? (default: /Users/william.conti): ...

Never fails ...

Proposed Solution

databricks labs ucx lint-local-code --workspace-path /Workspace/Users/william.conti/notebook

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant