2019-10-14 10:21:33 +02:00
|
|
|
Here's some general stuff to keep in mind, and some work that needs to be done:
|
2017-04-26 12:22:43 +02:00
|
|
|
|
2019-10-14 10:21:33 +02:00
|
|
|
* If you'd like to contribute, here's some suggestions:
|
|
|
|
* Features are currently up to date and mostly tested, but there are some areas where tests could be
|
|
|
|
better. Check the codecov page and try to add tests those areas.
|
|
|
|
* Nodeinfo is currently just documented by reference to the spec. It could be documented better.
|
|
|
|
* Nodeinfo currently just retrieves the 2.0 spec version. It should likely attempt to retrieve other
|
|
|
|
versions as well, trying to get the most recent one available.
|
|
|
|
* There's some code duplication in places that could be lessened.
|
|
|
|
* Other implementations of the Mastodon API as well as Mastodon forks exist - it may be good to try to support these:
|
|
|
|
* Figure out what they do different and file issues / document it
|
|
|
|
* Where code can be written to support alternate implementations or different features, write code to do this
|
|
|
|
* Write tests specific to these features
|
|
|
|
* Mastodon.py still somewhat tries to work for python2 as well as python3, so avoid things like annotations,
|
|
|
|
use requests over urllib, et cetera. However, python2 is not officially supported and not tested for anymore,
|
|
|
|
and once python2 reaches end of life (January 1st, 2020), this is over with.
|
|
|
|
|