BurnySc2 / python-sc2

A StarCraft II bot api client library for Python 3
MIT License
472 stars 156 forks source link

Convert game_data to dataclass #150

Closed BurnySc2 closed 1 year ago

codecov-commenter commented 1 year ago

Codecov Report

Merging #150 (9aee8cd) into feature-unit-as-dataclass (0dace56) will increase coverage by 0.13%. The diff coverage is 94.53%.

@@                      Coverage Diff                      @@
##           feature-unit-as-dataclass     #150      +/-   ##
=============================================================
+ Coverage                      72.61%   72.75%   +0.13%     
=============================================================
  Files                            107      107              
  Lines                          13963    13997      +34     
=============================================================
+ Hits                           10139    10183      +44     
+ Misses                          3824     3814      -10     
Impacted Files Coverage Δ
generate_dicts_from_data_json.py 0.00% <0.00%> (ø)
sc2/position.py 93.24% <ø> (-0.25%) :arrow_down:
sc2/bot_ai.py 81.29% <76.92%> (-0.11%) :arrow_down:
sc2/unit.py 82.62% <84.78%> (+0.34%) :arrow_up:
sc2/game_data.py 95.03% <97.39%> (+4.00%) :arrow_up:
sc2/bot_ai_internal.py 85.45% <100.00%> (+0.05%) :arrow_up:
sc2/cache.py 88.46% <100.00%> (+2.74%) :arrow_up:
sc2/client.py 61.24% <100.00%> (ø)
sc2/constants.py 100.00% <100.00%> (ø)
sc2/units.py 95.38% <100.00%> (+0.34%) :arrow_up:
... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.