Skip to content

Commit

Permalink
Fix lint test after ruff bumped from 0.5.7 to 0.6.0. (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
chanchiwai-ray authored Aug 16, 2024
1 parent 4ab2705 commit 3fbf3eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
ModelError,
WaitingStatus,
)

from service import get_installed_snap_service, snap_install

logger = logging.getLogger(__name__)
Expand Down
3 changes: 2 additions & 1 deletion tests/integration/tests/charm_tests/openstack_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
import unittest

import yaml
from charm import CLOUD_NAME, OS_CLIENT_CONFIG
from zaza import model

from charm import CLOUD_NAME, OS_CLIENT_CONFIG

logger = logging.getLogger(__name__)

APP_NAME = "openstack-exporter"
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import ops
import ops.testing
import pytest

from charm import CLOUD_NAME, OS_CLIENT_CONFIG, SNAP_NAME, OpenstackExporterOperatorCharm
from service import SnapService

Expand Down

0 comments on commit 3fbf3eb

Please sign in to comment.