unownone / Tweety.py

A End to End no-code Twitter Bot Api built on top of tweepy and fastapi
MIT License
4 stars 4 forks source link

Lack of Type Hints in Code #4

Open unownone opened 2 years ago

unownone commented 2 years ago

Summary

There's a lack of type hints in the code which makes the code less readable.

Requirement:

To increase Code Quality , add type hints to the code to make the code more readable and debuggable!

Example :

#/app/auth.py
#python3.9
...
def login(user: User_dict, Authorize: AuthJWT = Depends()):
    hasher = Hasher()
...

here hasher = Hasher() can be changed into hasher:Hasher = Hasher()

donheshanthaka commented 2 years ago

Hey there, i would be happy to contribute in this project. can you assign me to this issue?

unownone commented 2 years ago

@donheshanthaka Surely!