B302 Python 3 does not include .view* methods on dictionaries

Python 3 does not include .view* methods on dictionaries. Remove the view prefix from the method name. For Python 2 compatibility, prefer the Python 3 equivalent unless you expect the size of the container to be large or unbounded. Then use six.view* or future.utils.view*.

Extra parameters

These are defined by flake8-bugbear in the code and define the behavior of the violation. That's why we decided to print them here, for your reference.
Parameter Value
  • viewitems
  • viewkeys
  • viewlists
  • viewvalues
  • builtins
  • future.utils
  • six