Просмотр исходного кода

tests (untranslated_entities): output full path

Github seems to need a full path to identify the file to comment on
Jason Rumney 5 дней назад
Родитель
Сommit
76dd95f2ce
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      util/untranslated_entities.py

+ 1 - 1
util/untranslated_entities.py

@@ -28,7 +28,7 @@ def main() -> int:
             slug = slugify(entity.name)
             if slug in translations:
                 print(
-                    f"::warning file={config},line={entity._config.__line__}:: Entity can use translation_key: {slug}"
+                    f"::warning file=custom_components/tuya_local/devices/{config},line={entity._config.__line__}:: Entity can use translation_key: {slug}"
                 )
                 detected += 1
     return detected