pycharm is modifying import statements

Answered

I have a directory structure like this   

qna.mime.html.utils

I'm using import as

from qna.mime.html import utils

but when im clicking reformat file, pycharm is converting that to
import qna.mime.html.utils

how can i avoid this type of import, are there any settings to stop this?

 

0
1 comment

Hi Aditya14a0509,

Please reproduce the problem and then upload your logs folder zipped to https://uploads.services.jetbrains.com/ and let me know the name of that zip file.

0

Please sign in to leave a comment.