Merge branch 'python-linting' into 'main'

codegen: resolve pylint import issues

See merge request GNOME/glib!4137
This commit is contained in:
Philip Withnall 2024-07-03 08:22:21 +00:00
commit e0d5d0f3d1
3 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,6 @@
import os import os
import re import re
from . import utils
import textwrap import textwrap
# Disable line length warnings as wrapping the templates would be hard # Disable line length warnings as wrapping the templates would be hard

View File

@ -5,7 +5,6 @@
import os import os
import re import re
from . import utils
import textwrap import textwrap
# Disable line length warnings as wrapping the templates would be hard # Disable line length warnings as wrapping the templates would be hard

View File

@ -21,10 +21,11 @@
# #
# Author: David Zeuthen <davidz@redhat.com> # Author: David Zeuthen <davidz@redhat.com>
import packaging.version
import os import os
import sys import sys
import packaging.version
# pylint: disable=too-few-public-methods # pylint: disable=too-few-public-methods
class Color: class Color: