stable-baselines3/stable_baselines3/common
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
..
envs BitFlippingEnv argument check and docs clarification (#1698) 2023-09-27 10:18:30 +02:00
sb2_compat Fix type annotations of buffers (#1700) 2023-09-28 18:52:46 +02:00
vec_env Fix type annotations of buffers (#1700) 2023-09-28 18:52:46 +02:00
__init__.py Update docs (custom policy, type hints) (#167) 2020-09-29 20:41:14 +03:00
atari_wrappers.py Drop python 3.7, add 3.11 and update github templates (#1587) 2023-07-03 12:44:18 +02:00
base_class.py Fix type annotations of buffers (#1700) 2023-09-28 18:52:46 +02:00
buffers.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
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
distributions.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
env_checker.py Fix check_env for Sequence observation space (#1690) 2023-09-24 12:36:52 +02:00
env_util.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
evaluation.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
logger.py Fix reward of SimpleMultiObsEnv to always be float (#1676) 2023-09-16 08:56:04 +02:00
monitor.py Ignore pytype error (#1623) 2023-07-24 14:38:22 +02:00
noise.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
off_policy_algorithm.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
on_policy_algorithm.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
policies.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
preprocessing.py Fix type annotations of buffers (#1700) 2023-09-28 18:52:46 +02:00
results_plotter.py Fix Atari Roms download, enable RUF linting (#1379) 2023-03-12 18:47:52 +01:00
running_mean_std.py Fix test_vec_normalize.py, test_tensorboard.py and common/monitor.py type hint (#1194) 2023-01-13 18:28:22 +01:00
save_util.py Fix allowed types for save util (#1693) 2023-09-24 12:38:19 +02:00
torch_layers.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
type_aliases.py Drop python 3.7, add 3.11 and update github templates (#1587) 2023-07-03 12:44:18 +02:00
utils.py Fix type hints for callbacks, utils and VecTranspose (#1648) 2023-08-29 16:04:08 +02:00