mirror of
https://github.com/davegallant/rfd-notify.git
synced 2025-08-05 08:13:39 +00:00
Migrate to python (#265)
* Add initial python migration * Add pylint * Add pre-commit * Add Dockerfile * Add expression matching * Use shelve to store previous matches * Add notifications * Calculate post age * Update README.md
This commit is contained in:
8
rfd_notify/models/post.py
Normal file
8
rfd_notify/models/post.py
Normal file
@@ -0,0 +1,8 @@
|
||||
class Post:
|
||||
# pylint: disable=unused-argument
|
||||
def __init__(
|
||||
self,
|
||||
body: str,
|
||||
**kwargs,
|
||||
):
|
||||
self.body = body
|
Reference in New Issue
Block a user