In this section, we'll switch to another, although adjacent, topic—best practices for maintaining good quality code. Here, we will define "good" in a broad way—as dry, concise, expressive, easy to read, change, and build upon. To illustrate this topic, we will review the wikiwwii package we built in Chapter 15, Packaging and Testing with Poetry and PyTest.
Using best practices for coding in your project
Code formatting with black
First of all, let's talk about formatting. It may sound like a minor issue—and it generally is—but formatting...