In older PEP8 versions relative imports were discouraged but more recently it was suggested that it was okay to use them. I don't have a strong view about that. But mixing these two together I think looks a bit ugly but this is only from an aesthetic viewpoint. Currently most imports use absolute paths.