From 65bdbcb209b111dd63babfe46f5ad17cd6baf8ce Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Sun, 26 Jun 2016 21:31:44 +0200 Subject: [PATCH] Pylint: enable unused-import check --- dns/hash.py | 1 - dns/message.py | 1 - dns/rdata.py | 1 - dns/renderer.py | 1 - dns/tsig.py | 1 - pylintrc | 1 - 6 files changed, 6 deletions(-) diff --git a/dns/hash.py b/dns/hash.py index 27f7a7e2..966838a1 100644 --- a/dns/hash.py +++ b/dns/hash.py @@ -15,7 +15,6 @@ """Hashing backwards compatibility wrapper""" -import sys import hashlib diff --git a/dns/message.py b/dns/message.py index 9b8dcd0f..75f51e78 100644 --- a/dns/message.py +++ b/dns/message.py @@ -19,7 +19,6 @@ from __future__ import absolute_import from io import StringIO import struct -import sys import time import dns.edns diff --git a/dns/rdata.py b/dns/rdata.py index 97581977..0de9e39e 100644 --- a/dns/rdata.py +++ b/dns/rdata.py @@ -28,7 +28,6 @@ chunk of hexstring that _hexify() produces before whitespace occurs. from io import BytesIO import base64 import binascii -import struct import dns.exception import dns.name diff --git a/dns/renderer.py b/dns/renderer.py index ddc277cd..670fb28f 100644 --- a/dns/renderer.py +++ b/dns/renderer.py @@ -19,7 +19,6 @@ from io import BytesIO import struct import random import time -import sys import dns.exception import dns.tsig diff --git a/dns/tsig.py b/dns/tsig.py index 38fe31eb..b9d7bb62 100644 --- a/dns/tsig.py +++ b/dns/tsig.py @@ -17,7 +17,6 @@ import hmac import struct -import sys import dns.exception import dns.hash diff --git a/pylintrc b/pylintrc index 96fcc075..54e6e750 100644 --- a/pylintrc +++ b/pylintrc @@ -49,7 +49,6 @@ disable= unnecessary-lambda, unneeded-not, unused-argument, - unused-import, unused-variable, wrong-import-order, wrong-import-position, -- 2.47.3