Check python program for errors
python, static-code-analysis, syntax-error, testing
Solution
Use code analysis tools like `pylint`.
`pylint` is the most popular, but there are others:
- `flake8`
- `pyflakes`
- code inspection tools in Pycharm IDE
- `Codeq` service (if you are on github)
Hope that helps.
Problem
How can I check a python program for errors without running it? I want to get the error messages that say what line my error is on, but I do not want to execute the program.