mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
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>
This commit is contained in:
parent
552e01e177
commit
24aaff658b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user