Module target_checking

Module target_checking 

Source

Enumsยง

AllowedResult ๐Ÿ”’
AllowedTargets ๐Ÿ”’
Policy ๐Ÿ”’

Constantsยง

ALL_TARGETS ๐Ÿ”’
This is the list of all targets to which a attribute can be applied This is used for:

Functionsยง

allowed_targets_applied ๐Ÿ”’
Takes a list of allowed_targets for an attribute, and the target the attribute was applied to. Does some heuristic-based filtering to remove uninteresting targets, and formats the targets into a string
filter_targets ๐Ÿ”’