stable-baselines3/tests
Jan-Hendrik Ewers 2ddf015cd9
fix: Follow PEP8 guidelines and evaluate falsy to truthy with not rather than is False. (#1707)
* fix: Follow PEP8 guidelines and evaluate falsy to truth with `not` rather than `is False`.

https://docs.python.org/2/library/stdtypes.html#truth-value-testing

* chore: Update changelog inline with intent of changes in PR #1707

Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>

* fix: Change `is False` to `not` as per PEP8

* chore: Remove superfluous comment about `is False`

* test: One On- and one Off-Policy algorithm (A2C and SAC respectively), with settings to speed up testing

* Update changelog

* chore: Remove EvalCallback as it's not actually required

* Update changelog.rst

* Rm duplicated "others" section in changelog.rst

---------

Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>
Co-authored-by: Antonin Raffin <antonin.raffin@ensta.org>
2023-10-09 12:21:12 +02:00
..
__init__.py Init: TD3 2019-09-05 17:29:41 +02:00
test_buffers.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_callbacks.py fix: Follow PEP8 guidelines and evaluate falsy to truthy with not rather than is False. (#1707) 2023-10-09 12:21:12 +02:00
test_cnn.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_custom_policy.py Removed shared layers in mlp_extractor (#1292) 2023-01-23 14:55:19 +01:00
test_deterministic.py Add the argument dtype (default to float32) to the noise (#1301) 2023-02-07 13:42:14 +01:00
test_dict_env.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_distributions.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_env_checker.py Fix check_env for Sequence observation space (#1690) 2023-09-24 12:36:52 +02:00
test_envs.py Update Gymnasium to v0.29.0 (#1610) 2023-07-18 14:22:22 +02:00
test_gae.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_her.py Fix wrong truncation in HER replay buffer (#1543) 2023-06-07 15:57:12 +02:00
test_identity.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_logger.py Relax logger check for Windows (#1615) 2023-07-21 07:02:38 +02:00
test_monitor.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_predict.py Add check for common mistake when mixing Gym/VecEnv API (#1696) 2023-09-25 12:39:22 +02:00
test_preprocessing.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_run.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_save_load.py Fixes replay buffer device after loading in OffPolicyAlgorithm (#1662) 2023-09-03 12:50:02 +02:00
test_sde.py Fix squash output unscaling when using gSDE (#1652) 2023-09-01 17:58:15 +02:00
test_spaces.py Fix to use float64 actions for off policy algorithms (#1572) 2023-07-24 16:38:03 +02:00
test_tensorboard.py Fix test_vec_normalize.py, test_tensorboard.py and common/monitor.py type hint (#1194) 2023-01-13 18:28:22 +01:00
test_train_eval_mode.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_utils.py Type annotation bundle (logger, vec env, custom envs) (#1479) 2023-05-04 20:27:15 +02:00
test_vec_check_nan.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_vec_envs.py Fix render bug for vec env wrappers (#1525) 2023-06-07 16:20:40 +02:00
test_vec_extract_dict_obs.py Fix render bug for vec env wrappers (#1525) 2023-06-07 16:20:40 +02:00
test_vec_monitor.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_vec_normalize.py Fix render_mode when loading VecNormalize (#1671) 2023-09-12 11:28:32 +02:00
test_vec_stacked_obs.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00