Whether you’re studying a course or self learning it’s nice to be able to check your code. It’s time to introduce code linters.
A linter checks your code for typos, unused variables and general formatting. These tools are particularly helpful if you are self learning.
For Python we can use pylint, for Bash there is the shellcheck linter and for R, a program called lintr.
Try them out and see if they help!