Describe how `flake8` and `black` tests are designed, how to run them locally, and how they run as Github Actions.