Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fixed deps, linted #84

Merged
merged 2 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading