Skip to content

remove isort#1280

Merged
nfx merged 1 commit intodatabrickslabs:mainfrom
ericvergnaud:remove-isort
Apr 5, 2024
Merged

remove isort#1280
nfx merged 1 commit intodatabrickslabs:mainfrom
ericvergnaud:remove-isort

Conversation

@ericvergnaud
Copy link
Copy Markdown
Contributor

isort and pylint disagree on import order with:

from databricks.sdk.service.workspace import Language
from sqlglot import ParseError as SQLParseError
from sqlglot import parse as parse_sql

the solution is to remove isort from the make fmt build command

Changes

remove sort from build checks

Linked issues

None

Functionality

  • added relevant user documentation
  • added new CLI command
  • modified existing command: databricks labs ucx ...
  • added a new workflow
  • modified existing workflow: ...
  • added a new table
  • modified existing table: ...

Tests

  • manually tested
  • added unit tests
  • added integration tests
  • verified on staging environment (screenshot attached)

@ericvergnaud ericvergnaud requested review from a team and prajin-29 April 5, 2024 11:58
@nfx nfx changed the title remove isort remove isort Apr 5, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.15%. Comparing base (b2a11cf) to head (e00f09b).
Report is 28 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1280      +/-   ##
==========================================
+ Coverage   90.02%   90.15%   +0.12%     
==========================================
  Files          62       62              
  Lines        7430     7782     +352     
  Branches     1335     1400      +65     
==========================================
+ Hits         6689     7016     +327     
- Misses        470      487      +17     
- Partials      271      279       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nfx nfx merged commit e193c84 into databrickslabs:main Apr 5, 2024
@ericvergnaud ericvergnaud deleted the remove-isort branch April 5, 2024 12:33
ericvergnaud added a commit to ericvergnaud/ucx that referenced this pull request Apr 5, 2024
* main:
  remove `isort` (databrickslabs#1280)
  Addressed Issue with Disabled Feature in certain regions (databrickslabs#1275)
  Improve documentation (databrickslabs#1162)
  Add roadmap workflows and tasks to Table Migration Workflow document (databrickslabs#1274)
  Fix integration test with new DeployedWorkflows (databrickslabs#1250)
  Document troubleshooting guide (databrickslabs#1226)
  Split `DeployedWorkflows` out of `WorkflowsDeployment` (databrickslabs#1248)
  Inject `_TASKS` via constructor to `WorkflowsDeployment` instead of a global variable (databrickslabs#1247)
  Decouple `InstallState` from `WorkspaceDeployment` constructor
  Add document for table migration workflow (databrickslabs#1229)
  Decouple `InstallState` from `WorkflowsDeployment` constructor (databrickslabs#1246)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants