diff --git a/linter/rules/content_about.py b/linter/rules/content_about.py
index 5cc1524..2411eb2 100644
--- a/linter/rules/content_about.py
+++ b/linter/rules/content_about.py
@@ -42,7 +42,7 @@ class ContentAbout():
with open(file_readme, 'w') as write_readme:
write_readme.writelines(content)
- self.result = "🔴 -1: backslash.\nFixed."
+ self.result = f"🔴 {line}: backslash.\nFixed."
return self.result
diff --git a/linter/rules/featured_playlists.py b/linter/rules/featured_playlists.py
index b8c0c58..17ac1cc 100644
--- a/linter/rules/featured_playlists.py
+++ b/linter/rules/featured_playlists.py
@@ -46,7 +46,7 @@ class FeaturedPlaylists():
with open(file_readme, 'w') as write_readme:
write_readme.writelines(content)
- self.result = "🔴 -1: backslash | line break.\nFixed."
+ self.result = f"🔴 {line}: backslash | line break.\nFixed."
elif last != "\\" and "
" in content[line+1]:
if last == " ":
content[line] = f"{value[:-1]}\\\n"
@@ -56,14 +56,14 @@ class FeaturedPlaylists():
with open(file_readme, 'w') as write_readme:
write_readme.writelines(content)
- self.result = "🔴 -1: backslash.\nFixed."
+ self.result = f"🔴 {line}: backslash.\nFixed."
elif last == "\\" and "
" not in content[line+1]:
content[line+1] = "
\n\n"
with open(file_readme, 'w') as write_readme:
write_readme.writelines(content)
- self.result = "🔴 -1: line break.\nFixed."
+ self.result = f"🔴 {line}: line break.\nFixed."
return self.result
diff --git a/linter/rules/youtubers_names.py b/linter/rules/youtubers_names.py
index 3e74a51..9d41852 100644
--- a/linter/rules/youtubers_names.py
+++ b/linter/rules/youtubers_names.py
@@ -43,7 +43,7 @@ class YoutubersNames():
with open(file_readme, 'w') as write_readme:
write_readme.writelines(content)
- self.result = "🔴 -1: backslash.\nFixed."
+ self.result = f"🔴 {line}: backslash.\nFixed."
return self.result
@@ -56,10 +56,10 @@ class YoutubersNames():
for line, value in enumerate(content):
if self.checker in value:
if link not in value:
- self.result = "🔴 -1: YouTube link."
+ self.result = f"🔴 {line}: YouTube link."
return self.result
youtubers_names = YoutubersNames()
-print(youtubers_names)
+print(youtubers_names.trailing_slash())