def execute(self, test_output_file=None):
if self.options.skip:
return
sources = self._calculate_isortable_python_sources(self.context.target_roots)
if not sources:
logging.debug(self.NOOP_MSG_HAS_TARGET_BUT_NO_SOURCE)
After Change
def execute(self, test_output_file=None):
sources = self._calculate_isortable_python_sources(
self.get_targets(self.is_non_synthetic_python_target))
if not sources:
logging.debug(self.NOOP_MSG_HAS_TARGET_BUT_NO_SOURCE)