Try applying Pylint to the following source code.
A = 10
print(A)
The execution command is as follows. It seems that you can prevent unnecessary logs from being output by adding -rn.
pylint -rn test.py
The execution result is as follows.
************* Module test
test.py:1:0: C0111: Missing module docstring (missing-docstring)
-------------------------------------------------------------------
Your code has been rated at 5.00/10 (previous run: 10.00/10, -5.00)
It was 5.00/10 points. I was angry without the docstring. It seems to be reliable to use as a basis for source code quality, but it seems difficult to aim for 100 points. .. ..
Recommended Posts