chainer / chainerrl

ChainerRL is a deep reinforcement learning library built on top of Chainer.
MIT License
1.18k stars 224 forks source link

Fix B006: Do not use mutable data structures for argument defaults. #504

Closed muupan closed 5 years ago

muupan commented 5 years ago

https://github.com/PyCQA/flake8-bugbear#list-of-warnings

B006: Do not use mutable data structures for argument defaults. All calls reuse one instance of that data structure, persisting changes between them.