Skip to content

disallowed-data-type (TP014)#

Automatic fix is available.

What it does#

Checks for usage of disallowed data types.

Why not?#

If you are using a disallowed type, you're probably doing something wrong.

When should you?#

Never. If a data type is intended to be used, it should not be in the config disallowed_data_types.

Use instead:#

Allowed data types.

Configuration#

disallowed_data_types: List of disallowed data types.