-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unit tests on GH Actions #30
Conversation
I enabled 3.8 and 3.9 on my branch that has a bunch of dependency version bumps and the check passed. My pull request that contains version bumps has been merged, so this probably works if you pull from main and try 3.8 again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
I've added a job for checking the syntax with |
hey can anybody help me with how can i print the stats of a given pokemon? (sorry for dumb question) |
@aditya-yadav-27 import pokebase as pb
for stat in pb.pokemon('charmander').stats:
print('{}: {}'.format(stat.stat.name, stat.base_stat)) https://replit.com/@AlessandroPezze/OpulentUtilizedAudit#main.py |
does searching pokemon from its id is not working? |
For one, you probably want to open an issue for this instead of post in a closed pull request. Also, can you provide the code that doesn't work for you so we can see what's happening? |
k sorry for that btw I can't understand how to print the evolution line of a pokemon can anyone help me with this? |
Travis-ci has switched from
.org
to.com
so I thought we could get rid of it and start using Actions.So this PR tests Pokebase on Python 3.6 and 3.7 on Actions.