From 9ff89acf756b932cf380018445371dda688ee5ea Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 17 Nov 2022 01:29:54 +0900 Subject: Nitpick --- README.md | 4 ++-- pyproject.toml | 3 ++- src/fead.py | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index afa1158..65e2e1f 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Any use of -f before -F is ignored. ## Template The template is used by Python [`str.format`][format] to generate each advert. -It can contain the following fields, delimited by braces ('{' and '}'). +It can contain the following fields, delimited by braces (`{` and `}`). * `source_title`: title of the web feed * `source_link`: URL to the feed's website @@ -61,7 +61,7 @@ which supports at least C89 format codes, e.g. `{time:%Y-%m-%d}`. ## Examples -Given the these URLs in a feeds file: +Given the these URLs in a `feeds` file: https://adol.pw/index.xml https://cnx.gdn/feed.xml diff --git a/pyproject.toml b/pyproject.toml index b9ccab0..2b03df5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,7 @@ build-backend = "flit_core.buildapi" [project] name = "fead" +description = "Advert generator from web feeds" readme = "README.md" requires-python = ">=3.6" license = { file = "COPYING" } @@ -18,6 +19,6 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ] -dynamic = [ "version", "description" ] +dynamic = [ "version" ] urls = { git = "https://git.sr.ht/~cnx/fead" } scripts = { fead = "fead:main" } diff --git a/src/fead.py b/src/fead.py index ffe7b6f..2d14b3b 100755 --- a/src/fead.py +++ b/src/fead.py @@ -15,7 +15,6 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -__doc__ = 'Advert generator from web feeds' __version__ = '0.1.2' from argparse import ArgumentParser, FileType, HelpFormatter -- cgit 1.4.1