Commit 951d63fe authored by Dmitry Volodin's avatar Dmitry Volodin Committed by Andrey Vertiprahov
Browse files

py3: Remove from __future__ import

parent 5ca6e86b
......@@ -50,13 +50,13 @@ confidence=
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
#disable=parameter-unpacking,unpacking-in-except,backtick,long-suffix,old-ne-operator,old-octal-literal,raw-checker-failed,bad-inline-option,locally-disabled,locally-enabled,file-ignored,suppressed-message,useless-suppression,deprecated-pragma,apply-builtin,basestring-builtin,buffer-builtin,cmp-builtin,coerce-builtin,execfile-builtin,file-builtin,long-builtin,raw_input-builtin,reduce-builtin,standarderror-builtin,unicode-builtin,coerce-method,delslice-method,getslice-method,setslice-method,no-absolute-import,old-division,dict-iter-method,dict-view-method,next-method-called,metaclass-assignment,indexing-exception,raising-string,reload-builtin,oct-method,hex-method,nonzero-method,cmp-method,input-builtin,round-builtin,intern-builtin,unichr-builtin,map-builtin-not-iterating,zip-builtin-not-iterating,range-builtin-not-iterating,filter-builtin-not-iterating,using-cmp-argument,eq-without-hash,div-method,idiv-method,rdiv-method,exception-message-attribute,invalid-str-codec,sys-max-int,bad-python3-import,deprecated-string-function,deprecated-str-translate-call,missing-docstring
#disable=parameter-unpacking,unpacking-in-except,backtick,long-suffix,old-ne-operator,old-octal-literal,raw-checker-failed,bad-inline-option,locally-disabled,locally-enabled,file-ignored,suppressed-message,useless-suppression,deprecated-pragma,apply-builtin,basestring-builtin,buffer-builtin,cmp-builtin,coerce-builtin,execfile-builtin,file-builtin,long-builtin,raw_input-builtin,reduce-builtin,standarderror-builtin,unicode-builtin,coerce-method,delslice-method,getslice-method,setslice-method,no-absolute-import,old-division,dict-iter-method,dict-view-method,next-method-called,metaclass-assignment,indexing-exception,raising-string,reload-builtin,oct-method,hex-method,nonzero-method,cmp-method,input-builtin,round-builtin,intern-builtin,map-builtin-not-iterating,zip-builtin-not-iterating,range-builtin-not-iterating,filter-builtin-not-iterating,using-cmp-argument,eq-without-hash,div-method,idiv-method,rdiv-method,exception-message-attribute,invalid-str-codec,sys-max-int,bad-python3-import,deprecated-string-function,deprecated-str-translate-call,missing-docstring
disable=all
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once). See also the "--disable" option for examples.
enable=old-ne-operator,old-octal-literal,apply-builtin,basestring-builtin,buffer-builtin,cmp-builtin,C0203,C0204,C0303,C0304,C0321,C0325,C1001,E0001,E0101,E0104,E0105,E0108,E0213,E0601,E0602,E0701,E0710,E0711,E0712,E1001-E1004,E1111,E1121,E1122,E1200,E1201,E1205,E1206,E1300-E1306,W0101,W0104,W0107,W0109,W0231,W0401
enable=old-ne-operator,old-octal-literal,apply-builtin,basestring-builtin,buffer-builtin,cmp-builtin,unichr-builtin,C0203,C0204,C0303,C0304,C0321,C0325,C1001,E0001,E0101,E0104,E0105,E0108,E0213,E0601,E0602,E0701,E0710,E0711,E0712,E1001-E1004,E1111,E1121,E1122,E1200,E1201,E1205,E1206,E1300-E1306,W0101,W0104,W0107,W0109,W0231,W0401
......
......@@ -7,7 +7,6 @@
# ---------------------------------------------------------------------
# Python modules
from __future__ import print_function
from threading import Lock
import operator
......
......@@ -7,7 +7,6 @@
# ----------------------------------------------------------------------
# Python modules
from __future__ import absolute_import
import datetime
from threading import Lock
import operator
......
......@@ -6,9 +6,6 @@
# See LICENSE for details
# ---------------------------------------------------------------------
# Python modules
from __future__ import absolute_import
# Third-party modules
import six
from django.db import models
......
......@@ -7,7 +7,6 @@
# ----------------------------------------------------------------------
# Python modules
from __future__ import absolute_import
import threading
import operator
......
......@@ -7,7 +7,6 @@
# ----------------------------------------------------------------------
# Python modules
from __future__ import absolute_import
import threading
import operator
......
......@@ -6,9 +6,6 @@
# See LICENSE for details
# ---------------------------------------------------------------------
# Python modules
from __future__ import absolute_import
# Third-party modules
import six
from mongoengine.document import Document, EmbeddedDocument
......
......@@ -6,9 +6,6 @@
# See LICENSE for details
# ---------------------------------------------------------------------
# Python modules
from __future__ import absolute_import
# Third-party modules
import six
from mongoengine.document import Document, EmbeddedDocument
......
......@@ -7,7 +7,6 @@
# ---------------------------------------------------------------------
# Python modules
from __future__ import absolute_import
import logging
# Third-party modules
......
......@@ -6,9 +6,6 @@
# See LICENSE for details
# ----------------------------------------------------------------------
# Python modules
from __future__ import print_function
# NOC modules
from noc.core.management.base import BaseCommand
from noc.core.version import version
......
......@@ -7,7 +7,6 @@
# ----------------------------------------------------------------------
# Python modules
from __future__ import print_function
import argparse
import datetime
import os
......
......@@ -7,7 +7,6 @@
# ----------------------------------------------------------------------
# Python modules
from __future__ import print_function
import os
import datetime
import gzip
......
......@@ -7,7 +7,6 @@
# ----------------------------------------------------------------------
# Python modules
from __future__ import print_function
from collections import namedtuple, defaultdict
import time
import datetime
......
......@@ -6,9 +6,6 @@
# See LICENSE for details
# ---------------------------------------------------------------------
# Python modules
from __future__ import print_function
# NOC modules
from noc.core.management.base import BaseCommand
from noc.sa.models.managedobjectselector import ManagedObjectSelector
......
......@@ -7,7 +7,6 @@
# ----------------------------------------------------------------------
# Python modules
from __future__ import print_function
import os
import argparse
......
......@@ -7,7 +7,6 @@
# ----------------------------------------------------------------------
# Python modules
from __future__ import print_function
import argparse
import os
......
......@@ -9,7 +9,6 @@
# ---------------------------------------------------------------------
# Python modules
from __future__ import print_function
import argparse
import os
import re
......
......@@ -7,7 +7,6 @@
# ---------------------------------------------------------------------
# Python modules
from __future__ import print_function
import sys
import argparse
......
......@@ -7,7 +7,6 @@
# ---------------------------------------------------------------------
# Python modules
from __future__ import print_function
import argparse
import sys
......
......@@ -8,7 +8,6 @@
# Python modules
from __future__ import print_function
import argparse
# Third-party modules
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment