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
Doubles support #51
Doubles support #51
Conversation
Codecov Report
@@ Coverage Diff @@
## master #51 +/- ##
==========================================
+ Coverage 81.34% 85.22% +3.88%
==========================================
Files 31 33 +2
Lines 2455 2809 +354
==========================================
+ Hits 1997 2394 +397
+ Misses 458 415 -43 |
I think most of the work on
|
Also I don't quite understand why is flake8 (line length over 88) failing for |
Good job! Are you using |
@hsahovic thanks for the advice, gonna use it from now on, for some reason I've never noticed that max line length was so small. Just fixed all tests and stuff, going to work on |
Oh, I think that I know what the problem is. I updated the CI process on another branch last week, and I think that my first updates might have used the same cache name - which was an error on my end. I think that merging the current state of master into this branch should solve the issue. On the subject of tests, you should also install |
Hey @hsahovic @szymonWojdat, I noticed some effects that occur in double battles are absent from the |
@hsahovic i have no idea why flake is failing, should i reformat docstrings in |
I'll check it out tonight. |
…. Needed bc Pokemon._update_from_pokedex() updates self._species since recently.
Closes #49
Drafted this real quick for now, will keep working on this in the following days.
For now the plan was to create
AbstractBattle
, useDoubleBattle
for doubles andBattle
for singles, move all common logic fromBattle
toAbstractBattle
and implement the missing functionalities ofDoubleBattle
.