Skip to content

Commit

Permalink
Merge pull request #84 from kywch/2.1
Browse files Browse the repository at this point in the history
fixed deps, linted
  • Loading branch information
jsuarez5341 committed Jun 7, 2024
2 parents 1ea69f0 + 989ad02 commit 7c7a663
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nmmo/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.1.0'
__version__ = '2.1.0'
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@
packages=find_packages(),
include_package_data=True,
install_requires=[
'cython>=3.0.0',
'numpy==1.23.3',
'scipy==1.10.0',
'pytest==7.3.0',
'pytest-benchmark==3.4.1',
'vec-noise==1.1.4',
'imageio==2.23.0',
'imageio>=2.27',
'ordered-set==4.1.0',
'pettingzoo==1.24.1',
'gymnasium==0.29.1',
Expand Down
1 change: 1 addition & 0 deletions tests/core/test_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def test_recon_resurrect(self):
# resurrect player1
player1.health.update(0)
self.assertEqual(player1.alive, False)
env.step({})

player1.resurrect(health_prop=0.5, freeze_duration=10)
self.assertEqual(player1.health.val, 50)
Expand Down

0 comments on commit 7c7a663

Please sign in to comment.