瀏覽代碼

Fix error message of max description length

pull/3011/head
Matheus Felipe 2 年之前
父節點
當前提交
9f0174fd96
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: AA785C523274872F
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      scripts/validate/format.py

+ 1
- 1
scripts/validate/format.py 查看文件

@@ -120,7 +120,7 @@ def check_description(line_num: int, description: str) -> List[str]:

desc_length = len(description)
if desc_length > max_description_length:
err_msg = error_message(line_num, f'description should not exceed 100 characters (currently {desc_length})')
err_msg = error_message(line_num, f'description should not exceed {max_description_length} characters (currently {desc_length})')
err_msgs.append(err_msg)
return err_msgs


Loading…
取消
儲存