about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-11-17 01:29:54 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-11-17 01:29:54 +0900
commit9ff89acf756b932cf380018445371dda688ee5ea (patch)
tree9950f2a803dfd0827f4eb1f7fccf9e7512303e7f
parent5187250ba942d3c5100982d071332f5b4b561119 (diff)
downloadfead-9ff89acf756b932cf380018445371dda688ee5ea.tar.gz
fead-9ff89acf756b932cf380018445371dda688ee5ea.tar.zst
Nitpick
-rw-r--r--README.md4
-rw-r--r--pyproject.toml3
-rwxr-xr-xsrc/fead.py1
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 <https://www.gnu.org/licenses/>.
 
-__doc__ = 'Advert generator from web feeds'
 __version__ = '0.1.2'
 
 from argparse import ArgumentParser, FileType, HelpFormatter