tools: Fix code style warnings in gen-visibility-macros.py
Reformat it with black
and disable line wrapping warnings from flake8
to satisfy the CI.
See the commit messages for rationale.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Edited by Philip Withnall