Skip to content

Commit

Permalink
add pylint disable lines
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Nov 13, 2024
1 parent 47c0b47 commit 6e6f954
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=no-name-in-module,import-error
import logging
from utils.config_parser import ConfigParser

Expand All @@ -8,9 +9,9 @@ class UFMTelemetryStreamingConfigParser(ConfigParser):
"""

# for debugging
config_file = "../conf/fluentd_telemetry_plugin.cfg"
# config_file = "../conf/fluentd_telemetry_plugin.cfg"

# config_file = "/config/fluentd_telemetry_plugin.cfg" # this path on the docker
config_file = "/config/fluentd_telemetry_plugin.cfg" # this path on the docker

UFM_TELEMETRY_ENDPOINT_SECTION = "ufm-telemetry-endpoint"
UFM_TELEMETRY_ENDPOINT_SECTION_HOST = "host"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
@author: Miryam Schwartz
@date: Nov 13, 2024
"""
# pylint: disable=no-name-in-module,import-error
import os
from utils.utils import Utils

Expand Down
1 change: 1 addition & 0 deletions plugins/fluentd_telemetry_plugin/src/telemetry_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from typing import List
import requests

# pylint: disable=no-name-in-module,import-error
from telemetry_constants import UFMTelemetryConstants
from ufm_sdk_tools.src.xdr_utils import PortType,prepare_port_type_http_telemetry_filter
from utils.logger import Logger, LOG_LEVELS
Expand Down

0 comments on commit 6e6f954

Please sign in to comment.