See: https://peps.python.org/pep-0008/#imports
Here absolute imports have been used to avoid the error
`ImportError: attempted relative import with no known parent package`.
This applies mostly the same rules that `black` used.
This commit should not have introduced any logical or functional
changes, only fixing style consistency