diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2022-10-14 18:14:19 +0100 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2022-10-14 18:15:12 +0100 |
commit | 24aaff658b0a25b6d0322b8275a769d892166cbd (patch) | |
tree | 654139e17229477a0c90038419186e39b7b2ade9 /tools | |
parent | 552e01e177b309d7f6127816c25d41e12ac2a2d1 (diff) | |
download | glib-24aaff658b0a25b6d0322b8275a769d892166cbd.tar.gz |
tools: Disable line length flake8 warnings in gen-visibility-macros.py
It contains a lot of C templates, and line wrapping them to satisfy
`flake8` would make them unreadable.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/gen-visibility-macros.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/gen-visibility-macros.py b/tools/gen-visibility-macros.py index e94d7f3e0..e47671323 100755 --- a/tools/gen-visibility-macros.py +++ b/tools/gen-visibility-macros.py @@ -10,6 +10,11 @@ import argparse import textwrap from pathlib import Path + +# Disable line length warnings as wrapping the C code templates would be hard +# flake8: noqa: E501 + + def gen_versions_macros(args, current_minor_version): with args.out_path.open('w', encoding='utf-8') as ofile, \ args.in_path.open('r', encoding='utf-8') as ifile: |