001-fix-ui-ws-validation #2

Merged
busya merged 26 commits from 001-fix-ui-ws-validation into migration 2025-12-21 00:29:20 +03:00
15 changed files with 29354 additions and 769 deletions
Showing only changes of commit b550cb38ff - Show all commits

View File

@@ -1,7 +0,0 @@
import sys
import os
import pylint.lint
sys.path.append(os.getcwd())
pylint.lint.Run(['superset_tool/utils/fileio.py'])

View File

@@ -1,29 +0,0 @@
# test_whiptail.py
from superset_tool.utils.whiptail_fallback import (
menu, checklist, yesno, msgbox, inputbox, gauge,
)
rc, env = menu('Тестовое меню', 'Выберите среду:', ['dev', 'prod'])
print('menu →', rc, env)
rc, ids = checklist(
'Тестовый чек‑лист',
'Выберите пункты:',
[('1', 'Первый'), ('2', 'Второй'), ('3', 'Третий')],
)
print('checklist →', rc, ids)
if yesno('Вопрос', 'Продолжить?'):
print('Ответ ДА')
else:
print('Ответ НЕТ')
rc, txt = inputbox('Ввод', 'Введите произвольный текст:')
print('inputbox →', rc, txt)
msgbox('Сообщение', 'Это просто тестовое сообщение.')
with gauge('Прогресс‑бар') as g:
for i in range(0, 101, 20):
g.set_text(f'Шаг {i // 20 + 1}')
g.set_percent(i)