We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b5e8ad commit 62fb0cfCopy full SHA for 62fb0cf
Makefile
@@ -5,6 +5,7 @@ install:
5
6
format:
7
# format code
8
+ black *.py mylib/*.py
9
10
lint:
11
# linting setup using pylint or flake8 or ruff
main.py
@@ -0,0 +1,3 @@
1
+from mylib.logic import wiki
2
+
3
+print(wiki())
mylib/logic.py
@@ -0,0 +1,8 @@
+import wikipedia
4
+def wiki(name='War Goddess', length=1):
+ """This is a wikipedia fetcher"""
+ my_wiki = wikipedia.summary(name, length)
+ return my_wiki
0 commit comments