unnecessary-pass / W0107#
Message emitted:
Unnecessary pass statement
Description:
Used when a "pass" statement that can be avoided is encountered.
Problematic code:
class Foo:
"""Foo docstring."""
pass # [unnecessary-pass]
Correct code:
class Foo:
"""Foo docstring."""
Created by the basic checker.