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 / input / func_w0611.py @ 745
History | View | Annotate | Download (445 Bytes)
1 |
"""check unused import
|
---|---|
2 |
"""
|
3 |
# pylint: disable=no-absolute-import
|
4 |
|
5 |
from __future__ import print_function |
6 |
|
7 |
import os |
8 |
import sys |
9 |
|
10 |
class NonRegr(object): |
11 |
"""???"""
|
12 |
def __init__(self): |
13 |
print('initialized')
|
14 |
|
15 |
def sys(self): |
16 |
"""should not get sys from there..."""
|
17 |
print(self, sys)
|
18 |
|
19 |
def dummy(self, truc): |
20 |
"""yo"""
|
21 |
return self, truc |
22 |
|
23 |
def blop(self): |
24 |
"""yo"""
|
25 |
print(self, 'blip') |