Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Recreated this PR from #109.
This PR added backend linting capability by applying pylint on python code.
Please configure the dev IDE to enable pylint on VS Code or PyCharm.
How to Install Pylint in PyCharm:
pip install pylint
use "which pylint" (for mac) or "where pylint" (for windows) to get the Pylint installation path.
navigate to File->Settings->External tools.
Enter the installation path of pylint in the field 'Program', enter data for all other fields as desired, i.e., Arguments: the .pylintrc file path in the backend python code, Working directory: to the backend python code root directory.
right clicke on the python file, select Open in-> Terminal
Run command 'pylint fileName.py'
The .pylintrc file is generated by using command "pylint --generate-rcfile>.pylintrc", to make the linting rules customizable.
How to linting python in VS Code:
install pylint from extensions in VS Code.
pylint can be enabled/disabled by right click on the settings of pylint.
VS code has the ability to auto detect customizable .pylintrc file in the backend python root directory.
When open or save a changed python file, pylint will be reporting errors or warning in the code based on the default linting rules and customized linting rules.