deprecated-decorator / W4905#
Using deprecated decorator %s()
The decorator is marked as deprecated and will be removed in the future.
import abc class Animal: @abc.abstractclassmethod # [deprecated-decorator] def breath(cls): pass
import abc class Animal: @abc.classmethod @abc.abstractmethod def breath(cls): pass
[main] py-version = 3.3
The actual replacement need to be studied on a case by case basis by reading the deprecation warning or the release notes.
Created by the stdlib checker.