Update notes for submitted changes

* Remove locals() from code base and enable H501 pep/flake rule