Add --sort-by flag to threads sub-command (#75)

* Add --sort-by flag to threads sub-command

* Add some sanity test commands to tox
This commit is contained in:
Dave Gallant
2020-08-02 19:30:04 -04:00
committed by GitHub
parent 83d583d2b0
commit 20089bc699
16 changed files with 150 additions and 119 deletions

8
rfd/posts.py Normal file
View File

@@ -0,0 +1,8 @@
# pylint: disable=old-style-class
class Post:
def __init__(self, body, score, user):
self.body = body
self.score = score
self.user = user