From a368cfaaed0b79836f9e5af3c0a9896ef7f7d6ea Mon Sep 17 00:00:00 2001 From: Mark Towers Date: Tue, 4 Oct 2022 17:38:12 +0100 Subject: [PATCH] Bump to V26.2 (#3116) * Bump version to v26.2 * Fix pre-commit --- gym/version.py | 2 +- gym/wrappers/atari_preprocessing.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gym/version.py b/gym/version.py index 10ea7670f62..6d91b394447 100644 --- a/gym/version.py +++ b/gym/version.py @@ -1 +1 @@ -VERSION = "0.26.1" +VERSION = "0.26.2" diff --git a/gym/wrappers/atari_preprocessing.py b/gym/wrappers/atari_preprocessing.py index e839b4a09f4..ce445dd2697 100644 --- a/gym/wrappers/atari_preprocessing.py +++ b/gym/wrappers/atari_preprocessing.py @@ -110,10 +110,10 @@ def __init__( self.observation_space = Box( low=_low, high=_high, shape=_shape, dtype=_obs_dtype ) - + @property def ale(self): - """Make ale as a class property to avoid serialization error""" + """Make ale as a class property to avoid serialization error.""" return self.env.unwrapped.ale def step(self, action):