There is a difference in the order that isort applies depending on where you execute isort.
Steps to reproduce:
Having this python file:
import json
from abc import abstractmethod
from pathlib import Path
from isort_issue.issue.other_file import MyAwesomeClass
from isort_issue.other_path.another_file import AnotherThing
from thirdparty_library import SuperUsefullClass
inside this folder structure ~/isort_issue/issue/test.py
the results are different if you execute isort from ~
isort ./isort_issue/issue/test.py
than if you execute from isort ~/isort_issue/issue
There is a difference in the order that isort applies depending on where you execute isort.
Steps to reproduce:
Having this python file:
inside this folder structure
~/isort_issue/issue/test.py
the results are different if you execute isort from
~
than if you execute from isort
~/isort_issue/issue