mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 04:15:49 +01:00
codegen: resolve pylint import issues
Remove unused imports and reorder other imports so that the standard ones are coming first. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
This commit is contained in:
parent
7f8201d7af
commit
b89dba22cd
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user