From 435a0c0caae25ee4759a3e9521d30efe7d29ace7 Mon Sep 17 00:00:00 2001 From: Omkaar <79257339+Pysics@users.noreply.github.com> Date: Sat, 25 Jun 2022 18:06:09 +0530 Subject: [PATCH] Fix the Docstring for `search` --- docs/conf.py | 2 +- gocomics/__init__.py | 2 +- gocomics/utils.py | 2 ++ pyproject.toml | 2 +- setup.py | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 1e635b5..55c5c29 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,6 +10,6 @@ project = "gocomics.py" copyright = "2022, Omkaar" author = "Mr.Brawler" -release = "1.1.2" +release = "1.1.3" extensions = ["sphinx.ext.autodoc"] diff --git a/gocomics/__init__.py b/gocomics/__init__.py index f111f45..81097a0 100644 --- a/gocomics/__init__.py +++ b/gocomics/__init__.py @@ -13,7 +13,7 @@ __author__ = 'Omkaar' __license__ = 'MIT' __copyright__ = 'Copyright 2022 Omkaar' -__version__ = '1.1.2' +__version__ = '1.1.3' from .comic import * diff --git a/gocomics/utils.py b/gocomics/utils.py index 85fb490..983ed89 100644 --- a/gocomics/utils.py +++ b/gocomics/utils.py @@ -68,6 +68,8 @@ def search(text: str, *, category: Optional[Literal["comic", "feature"]] = "comi """ Searches GoComics. + :param text: The text to search for. + :type text: str :param category: The category to search in. :type category: Optional[Literal["comic", "feature"]] :param page: The page number. diff --git a/pyproject.toml b/pyproject.toml index 746c6bc..8942f22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "gocomics.py" -version = "1.1.2" +version = "1.1.3" description = "Fetch comics from GoComics." authors = ["Mr.Brawler "] license = "MIT" diff --git a/setup.py b/setup.py index cb57b69..96cdc25 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name = "gocomics.py", - version = "1.1.2", + version = "1.1.3", description = "Fetch comics from GoComics.", long_description = README, long_description_content_type = "text/x-rst",