When running isort locally (e.g. python -m isort . or poetry run isort ., isort seems to sort things different than in CI, so my CI job fails when it checks for good formatting using python -m isort --check-only ..
Correct:
import azure
import pytest
from my_package_name.example import Example1, Example2
Wrong, running locally
import azure
import pytest
from my_package_name.example import Example1, Example2