Skip to content

Commit

Permalink
make it run
Browse files Browse the repository at this point in the history
  • Loading branch information
nfx committed Oct 17, 2023
1 parent 7ec2729 commit b443627
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Unshallow
run: git fetch --prune --unshallow

- name: Install Python
uses: actions/setup-python@v4
with:
Expand All @@ -53,6 +56,9 @@ jobs:
- name: Checkout Code
uses: actions/[email protected]

- name: Unshallow
run: git fetch --prune --unshallow

- name: Install Python
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ branch = true
parallel = true

[tool.coverage.report]
omit = ["src/databricks/labs/ucx/mixins/*", "*/working-copy/*"]
omit = ["src/databricks/labs/ucx/mixins/*", "*/working-copy/*", "*/fresh_wheel_file/*"]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
Expand Down
4 changes: 3 additions & 1 deletion src/databricks/labs/ucx/workspace_access/redash.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import dataclasses
import json
import logging
import time
from collections.abc import Callable
from dataclasses import dataclass
Expand All @@ -14,10 +15,11 @@
AclSupport,
Destination,
Permissions,
logger,
)
from databricks.labs.ucx.workspace_access.groups import GroupMigrationState

logger = logging.getLogger(__name__)


@dataclass
class SqlPermissionsInfo:
Expand Down
4 changes: 2 additions & 2 deletions src/databricks/labs/ucx/workspace_access/scim.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
import logging
import time
from functools import partial
from logging import Logger

from databricks.sdk import WorkspaceClient
from databricks.sdk.core import DatabricksError
Expand All @@ -16,7 +16,7 @@
)
from databricks.labs.ucx.workspace_access.groups import GroupMigrationState

logger = Logger(__name__)
logger = logging.getLogger(__name__)


class ScimSupport(AclSupport):
Expand Down

0 comments on commit b443627

Please sign in to comment.