Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Nov 28, 2023
1 parent 10045b0 commit e7b823f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions otaclient/app/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# flake8: noqa
"""Runtime configs and consts for otaclient.
This is a virtual module that imports configs required by otaclient app.
Expand All @@ -20,13 +21,10 @@
from __future__ import annotations
from pathlib import Path
from otaclient import __file__ as _otaclient__init__
from otaclient.configs.app_cfg import (
app_config as config, # noqa: F401
CreateStandbyMechanism, # noqa: F401
)
from otaclient.configs.debug_cfg import debug_flags # noqa: F401
from otaclient.configs.logging_cfg import logging_config # noqa: F401
from otaclient.configs.ota_service_cfg import service_config # noqa: F401
from otaclient.configs.app_cfg import app_config as config, CreateStandbyMechanism
from otaclient.configs.debug_cfg import debug_flags
from otaclient.configs.logging_cfg import logging_config
from otaclient.configs.ota_service_cfg import service_config


OTACLIENT_PACKAGE_ROOT = Path(_otaclient__init__).parent
Expand Down
2 changes: 1 addition & 1 deletion otaclient/configs/debug_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
2. override_config: which overrides specific config at runtime.
If the main DEBUG_MODE flag is enable, all flag type debug configs
will be enabled.
will be enabled.
For override_config type config, it will be enabled if this config
has assigned correct value via environmental var.
Expand Down

0 comments on commit e7b823f

Please sign in to comment.