So we have an internal code style rule that
as is not allowed for external modules.
As an example the following is disallowed:
import matplotlib.pyplot as plt
But it is allowed for modules in a given project.
Is there a way to setup such a rule with
We want such that on precommit hook it will fail if the rule is not uphold due to the fact that some developers does not uphold the rule.