python3-flake8-mutable

use flake8 to catch functions with mutable default arguments
  https://github.com/ebeweber/flake8-mutable
  0
  no reviews



Python's default arguments are evaluated at definition as opposed to when the function is invoked. This leads to unexpected behavior, as mutations persist between calls. This flake8 extension will warn for this type of mistake.