[editor usage]
Write a python program under vscode and use pylint to assist in correcting the code specification. An unlimited error is reported:
file: ‘ file:///c%3A/Users/dell/Desktop/Java/ex2/FactorialSum.py ‘
severity:’ warning ‘
message:’ w0312: found indentation with tabs instead of spaces’
at: ‘9,1’
source: ‘pylint’
The general meaning is that spaces should be used for indentation, not tabs
Solution:
Both vscode and sublime Text3 have settings for indentation
Vscode settings:
Sublime Text3 settings:
Change the corresponding indent to spaces