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:
Yegor Yefremov 2024-07-02 12:35:09 +02:00
parent 7f8201d7af
commit b89dba22cd
3 changed files with 2 additions and 3 deletions

View File

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

View File

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

View File

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