Skip to content

Commit

Permalink
Fix some formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Oct 31, 2023
1 parent f3a5f46 commit 2833c75
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion reportportal_client/_internal/aio/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

_T = TypeVar('_T')


DEFAULT_TASK_TRIGGER_NUM: int = 10
DEFAULT_TASK_TRIGGER_INTERVAL: float = 1.0

Expand Down
1 change: 0 additions & 1 deletion reportportal_client/_internal/services/client_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from .constants import CLIENT_ID_PROPERTY, RP_FOLDER_PATH, \
RP_PROPERTIES_FILE_PATH


logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())

Expand Down
12 changes: 6 additions & 6 deletions reportportal_client/_internal/services/client_id.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

from typing import Optional, Text

def _read_client_id() -> Optional[Text]:
pass

def _store_client_id(client_id: Text) -> None:
pass
def _read_client_id() -> Optional[Text]: ...

def get_client_id() -> Text:
pass

def _store_client_id(client_id: Text) -> None: ...


def get_client_id() -> Text: ...
2 changes: 1 addition & 1 deletion reportportal_client/_internal/services/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
import certifi
import requests

from reportportal_client.helpers import get_package_parameters
from reportportal_client._internal.services.client_id import get_client_id
from reportportal_client._internal.services.constants import CLIENT_INFO, ENDPOINT
from reportportal_client.helpers import get_package_parameters

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion reportportal_client/_internal/static/defines.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"""This module provides RP client static objects and variables."""

import aenum as enum
from reportportal_client.helpers import ATTRIBUTE_LENGTH_LIMIT as ATTRIBUTE_LIMIT

from reportportal_client.helpers import ATTRIBUTE_LENGTH_LIMIT as ATTRIBUTE_LIMIT

RP_LOG_LEVELS = {
60000: 'UNKNOWN',
Expand Down

0 comments on commit 2833c75

Please sign in to comment.