G.6 Syntax Tools and Testing
A few new tools are incredibly useful when using Python. When testing, the coverage tool shows you how much of your code is actually being tested. The flake8 tool allows you to check the syntax of your Python files and adhere to best practices. The isort tool sorts your Python imports to adhere to best practices.
Finally, one of the most common questions I get is which IDE to use. The truth is that your IDE doesn’t matter; choose one you are comfortable with and go from there. The PyCharm IDE is a very popular option, and I’ve seen recommendations for the Atom editor for beginners. However, I tend to favor vim because it is open source and (somewhat) easily extensible, and it allows me to work in a number of programming ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access