Skip to content

Commit

Permalink
add tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Morris committed May 1, 2024
1 parent c19f7b6 commit 5927b23
Show file tree
Hide file tree
Showing 5 changed files with 2,345 additions and 182 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/hourly-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Hourly test
on:
schedule:
- cron: "0 0-10,12-23 * * *" # hourly, except at 12:00 UTC (07:00 EST)
# - cron: "0 0-10,12-23 * * *" # hourly, except at 12:00 UTC (07:00 EST)
- cron: "0 */3 * * *" # three-hourly

jobs:
run_tests:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
poems
-----

All of the poems in here are good, or interesting. There are currently 7,702 poems by 518 poets.
All of the poems in here are good, or interesting. There are currently 7,752 poems by 528 poets.
1 change: 1 addition & 0 deletions poems/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class Author():
link: str
favorite: bool
n_poems: str
tags: list = field(default_factory=list)

@property
def dates(self):
Expand Down
2,520 changes: 2,341 additions & 179 deletions poems/poems.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion scripts/send-poem.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from datetime import datetime
import argparse, sys, threading
from io import StringIO
sys.path.insert(0, "../poemsfromtom")
import poems
import warnings

Expand Down

0 comments on commit 5927b23

Please sign in to comment.