For this activity, you'll be cleaning up a program that functions properly, but doesn't conform to the PEP 8 style guide.
Your task is to update the program so that it is PEP 8 compliant.
-
You should not remove comments. If a comment is too long, simply break it up into multiple lines.
-
While there are several other PEP8 violations, you only need to be concerned with those reported by flake8
-
Do not modify anything in the
tests
directory -
The test suite (see below) must pass all tests.
There are several ways to run the test suite:
-
Use automatic test discovery within VSCode. You must enable this feature in your IDE.
-
You can use rerun run continually run unit tests:
$ rerun "python -m unittest discover"
If you don't have rerun installed, you can run the test suite by itself:
$ python -m unittest discover