1.7 Extras
Here are some ideas for you to add to this project.
1.7.1 Static analysis - mypy, flake8
There are several common static analysis tools that are as essential as automated testing:
mypy checks type annotations to be sure the functions and classes will interact properly.
flake8 does other syntax checks to make sure the code avoids some of the more common Python mistakes.
black can be used to check the formatting to make sure it follows the recommended style. The
black
application can also be used to reformat a new file.isort can be used to put a long collection of
import
statements into a consistent order.
Once the application passes the functional tests in the *.feature
files, these additional non-functional tests can be applied. These additional tests are often helpful for spotting more nuanced problems that can make a program difficult to adapt or maintain.
1.7.2 CLI features
The command-language interface permits a single option, the --who
option, to provide a...