gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / src / main / resources-plugin / scripting / lib / pylint / test / functional / unused_import.py @ 745
History | View | Annotate | Download (708 Bytes)
1 |
"""unused import"""
|
---|---|
2 |
# pylint: disable=undefined-all-variable, import-error, no-absolute-import, too-few-public-methods, missing-docstring,wrong-import-position
|
3 |
import xml.etree # [unused-import] |
4 |
import xml.sax # [unused-import] |
5 |
import os.path as test # [unused-import] |
6 |
from sys import argv as test2 # [unused-import] |
7 |
from sys import flags # [unused-import] |
8 |
# +1:[unused-import,unused-import]
|
9 |
from collections import deque, OrderedDict, Counter |
10 |
DATA = Counter() |
11 |
|
12 |
from fake import SomeName, SomeOtherName # [unused-import] |
13 |
class SomeClass(object): |
14 |
SomeName = SomeName # https://bitbucket.org/logilab/pylint/issue/475
|
15 |
SomeOtherName = 1
|
16 |
SomeOtherName = SomeOtherName |
17 |
|
18 |
from never import __all__ |