Pylint is a library which examines your code and reports back possible issues, it is a static code analyser. In the terminal window I type
a = 1
b = 2
c = "JOR"
print(a+b)
print(a+B)
print(a+c)
Rewrite my simple code and get as close as you can to 10/10. Make any assumptions you need. I wrote and saved as pylint2.py
It took me a few goes looking at the test before I got full marks.
A static code check can be good for quality assurance in teams.