Code formatting/linting fixes
- Made use of the more fine-tuned specific flake8 per-file-ignores configuration option to limit what formatting issues should be ignored for the affected files. - Also removed all remaining overspecified ignores and corrected the missing raw strings prefix for strings that have escape sequences that are not currently defined.