Skip to content

Commit

Permalink
fix formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-gogov committed Dec 6, 2024
1 parent ea75a7b commit fb5bece
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ydb/tests/olap/scenario/helpers/scenario_tests_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __init__(self, name: str, compression: ScenarioTestHelper.Compression, compr

def to_yql(self) -> str:
"""Convert to YQL"""
return f'FAMILY {self._name} (COMPRESSION = "{self._compression.name}"{", COMPRESSION_LEVEL = " + str(self._compression_level) if self._compression_level != None else ""})'
return f'FAMILY {self._name} (COMPRESSION = "{self._compression.name}"{", COMPRESSION_LEVEL = " + str(self._compression_level) if self._compression_level is not None else ""})'

@property
def name(self) -> str:
Expand Down
4 changes: 2 additions & 2 deletions ydb/tests/olap/scenario/test_alter_compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
)

from typing import List, Dict, Any
from ydb import PrimitiveType, StatusCode
from ydb.tests.olap.lib.utils import get_external_param, external_param_is_true
from ydb import PrimitiveType
from ydb.tests.olap.lib.utils import get_external_param
from datetime import datetime, timedelta
from string import ascii_lowercase

Expand Down

0 comments on commit fb5bece

Please sign in to comment.