Almost every tech company will have some sort of commit hook using isort to force correct import ordering at the top of the file.
"Best practices" are incredibly unevenly distributed, and I suspect this is only more true for data/ML-heavy python code.