Procházet zdrojové kódy

Fix error message of max description length

pull/3011/head
Matheus Felipe před 2 roky
rodič
revize
9f0174fd96
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: AA785C523274872F
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      scripts/validate/format.py

+ 1
- 1
scripts/validate/format.py Zobrazit soubor

@@ -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


Načítá se…
Zrušit
Uložit