from . import util
from . import irc
sysver = "".join(__import__("sys").version.split("\n"))
gitver = __import__("subprocess").check_output(['git',
                                                'rev-parse',
                                                '--short',
                                                'HEAD']).decode().split()[0]
version = "A zIRC bot v{0}@{1}, running on Python {2}".format("0.1",
                                                              gitver,
                                                              sysver)

from . import util
from . import irc
# pylint: enable=unused-import

sysver = "".join(__import__("sys").version.split("\n"))
gitver = __import__("subprocess").check_output(['git',
                                                'rev-parse',
                                                '--short',
                                                'HEAD']).decode().split()[0]
version = "A zIRC bot v{0}@{1}, running on Python {2}".format("0.1",
                                                              gitver,
                                                              sysver)

Make Pylint ignore some unused imports
Make Pylint ignore some unused imports

Ignore them because they are required for the bot to work
  from . import util
  from . import irc
+ # pylint: enable=unused-import
+ 
  sysver = "".join(__import__("sys").version.split("\n"))
  gitver = __import__("subprocess").check_output(['git',
                                                  'rev-parse',
                                                  '--short',
                                                  'HEAD']).decode().split()[0]
  version = "A zIRC bot v{0}@{1}, running on Python {2}".format("0.1",
                                                                gitver,
                                                                sysver)
  
Make Pylint ignore some unused imports
## Code Before:
from . import util
from . import irc
sysver = "".join(__import__("sys").version.split("\n"))
gitver = __import__("subprocess").check_output(['git',
                                                'rev-parse',
                                                '--short',
                                                'HEAD']).decode().split()[0]
version = "A zIRC bot v{0}@{1}, running on Python {2}".format("0.1",
                                                              gitver,
                                                              sysver)

## Instruction:
Make Pylint ignore some unused imports
## Code After:
from . import util
from . import irc
# pylint: enable=unused-import

sysver = "".join(__import__("sys").version.split("\n"))
gitver = __import__("subprocess").check_output(['git',
                                                'rev-parse',
                                                '--short',
                                                'HEAD']).decode().split()[0]
version = "A zIRC bot v{0}@{1}, running on Python {2}".format("0.1",
                                                              gitver,
                                                              sysver)
