bugbear21.4.3

B902 Invalid first argument _ used for _ method

Invalid first argument {} used for {} method. Use the canonical first argument name in methods, i.e. {}.

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
cls
  • cls
  • klass
implicit_classmethods
  • __class_getitem__
  • __init_subclass__
  • __new__
metacls
  • metacls
  • metaclass
  • typ
  • mcs
self
  • self