fix: find_import didn't work properly for classic tools (#2550)

* fix: find_import didn't work properly for classic tools

* ci: fix all files not being checked in style run
6 files changed