I am not 100% sure the warning is about the format/indentation of the dict literal. On other hand if it was about other part of the code, you should get IndentationError when trying to run, not PyCharm/linter warning
In any case, never mix tabs and spaces for indentation. The PEP8 recommends using 4 spaces per level. Most IDEs have a setting to automatically convert tab to defined number of spaces.
In any case, never mix tabs and spaces for indentation. The PEP8 recommends using 4 spaces per level. Most IDEs have a setting to automatically convert tab to defined number of spaces.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs