using-final-decorator-in-unsupported-version / W2602#
typing.final is not supported by all versions included in the py-version setting
Used when the py-version set by the user is lower than 3.8 and pylint encounters a ``typing.final`` decorator.
from typing import final @final # [using-final-decorator-in-unsupported-version] class Playtypus(Animal): @final # [using-final-decorator-in-unsupported-version] def lay_egg(self): ...
class Playtypus(Animal): def lay_egg(self): ...
The message is emitted when the
final decorator is used with a Python version less than 3.8.
final decorator was introduced in Python version 3.8.
Created by the unsupported_version checker.