Fixed a formatting issue in the 1.7 release notes.
Fixed Oracle GIS failures introduced by e9103402c0; refs #18757.

Thanks Marc Tamlyn for the patch.
Fixed some flake8 errors.

Originally I added migrations to flake8 exclude because of long lines
in migration files, but there are other directories named migrations we
do want to check. We are not warning on line lengths yet anyway.
Made a GIS test work on Oracle.

Thanks Josh Smeaton and Claude Paroz for advice.
Skipped a broken GIS test on Oracle; refs #23504.