diff --git a/linter/lint.py b/linter/lint.py
index 3f7130a..fccf893 100644
--- a/linter/lint.py
+++ b/linter/lint.py
@@ -1,4 +1,4 @@
-from rules import (content_about, featured_playlists, youtubers_names)
+from rules.content_about import content_about
def main():
@@ -6,20 +6,21 @@ def main():
Main function. Used specifically to call print results
by calling functions into rules/.
"""
- if len(youtubers_names.youtubers_name_errors_nums) == 0:
- print("Every YouTubers names are good.", "\n")
- else:
- print("'YouTubers name' errors:\n", '\n'.join(["Error at line {}: there should be a trailing '\\'.".format(i) for i in youtubers_names.youtubers_name_errors_nums]), "\n")
+ # if len(youtubers_names.youtubers_name_errors_nums) == 0:
+ # print("Every YouTubers names are good.", "\n")
+ # else:
+ # print("'YouTubers name' errors:\n", '\n'.join(["Error at line {}: there should be a trailing '\\'.".format(i) for i in youtubers_names.youtubers_name_errors_nums]), "\n")
- if len(content_about.content_about_errors_nums) == 0:
- print("Every 'Content about' sections are good.", "\n")
+ if len(content_about()) == 0:
+ print("Every 'Content about' sections are good.")
else:
- print("'Content about' errors:\n", '\n'.join(["Error at line {}: there should be a trailing '\\'.".format(i) for i in content_about.content_about_errors_nums]), "\n")
+ print("There are some errors")
+ # print("'Content about' errors:\n", '\n'.join(["Error at line {}: there should be a trailing '\\'.".format(i) for i in content_about()]), "\n")
- if len(featured_playlists.featured_playlists_errors_nums) == 0:
- print("Every 'Featured playlists' sections are good.")
- else:
- print("'Featured playlists' errors:\n", '\n'.join(["Error at line {}: there should be a trailing '\\'.".format(i) for i in featured_playlists.featured_playlists_errors_nums]))
+ # if len(featured_playlists.featured_playlists_errors_nums) == 0:
+ # print("Every 'Featured playlists' sections are good.")
+ # else:
+ # print("'Featured playlists' errors:\n", '\n'.join(["Error at line {}: there should be a trailing '\\'.".format(i) for i in featured_playlists.featured_playlists_errors_nums]))
if __name__ == '__main__':
diff --git a/test.md b/test.md
new file mode 100644
index 0000000..d8cd426
--- /dev/null
+++ b/test.md
@@ -0,0 +1,38 @@
+[](https://www.youtube.com/c/derekbanas)
+
+[**Derek Banas**](https://www.youtube.com/c/derekbanas) [](badges.md#verified-youtube-channel) [](badges.md#weekly-video-upload) \
+Content about: Mathematics, Programming languages \
+Featured playlists: `Learn Algebra`, `C++ Tutorial`, `C# Tutorial`, `Java Video Tutorial`, `a lot of diverse topics`. \
+
+
+[](https://www.youtube.com/c/DonJonesConTech)
+
+[**Don Jones**](https://www.youtube.com/c/DonJonesConTech) \
+Content about: PowerShell \
+Featured playlists: `Learn Windows PowerShell in a Month of Lunches`, `SAPIEN PowerShell Training`, `PowerShell Tips, Tricks, and Snippets`.
+
+[](https://www.youtube.com/c/Coreyms)
+
+[**Corey Schafer**](https://www.youtube.com/c/Coreyms) [](badges.md#verified-youtube-channel) \
+Content about: Python, Backend \
+Featured playlists: `Python Tutorials`, `Django Tutorials`, `Flask Tutorials`, `Matplotlib Tutorials`, `SQL Tutorials`. \
+
+
+[](https://www.youtube.com/user/briantwill)
+
+[**Brian Will**](https://www.youtube.com/user/briantwill) \
+Content about: Backend, Rendering, Theoretical classes \
+Featured playlists: `OpenGL`, `the Clojure language`, `Python playlists`, `Pigeon, an educational programming language`, `many more interesting playlists!`.
+
+[](https://www.youtube.com/c/LearningLad)
+
+[**LearningLad**](https://www.youtube.com/c/LearningLad) [](badges.md#verified-youtube-channel) [](badges.md#weekly-video-upload) \
+Content about: C, C#, C++ \
+Featured playlists: `Learn C Programming Language | Tutorial for Beginners`, `Learn C++ Programming | Video Tutorial for Beginners`, `C++ Object Oriented Programming`, `and many more playlists`.
+
+[](https://www.youtube.com/c/DavidBombal)
+
+[**David Bombal**](https://www.youtube.com/c/DavidBombal) [](badges.md#verified-youtube-channel) [](badges.md#weekly-video-upload) \
+Content about: Ethical hacking, Linux \
+Featured playlists: `CCNA Exam: 200-125, 100-105 and 200-105`, `Cisco playlists`, `SDN Videos`. \
+
\ No newline at end of file