1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# pylint: disable=missing-docstring,unused-import,import-error, wildcard-import,unused-wildcard-import
# pylint: disable=redefined-builtin,no-name-in-module,ungrouped-imports,wrong-import-order,wrong-import-position
# pylint: disable=consider-using-from-import
from time import sleep, sleep # [reimported]
from lala import missing, missing # [reimported]
import missing1
import missing1 # [reimported]
from collections import deque
from itertools import deque # [reimported]
from collections import OrderedDict
from itertools import OrderedDict as NotOrderedDict
from itertools import *
from os import *
import sys
import xml.etree.ElementTree
from xml.etree import ElementTree # [reimported]
from email import encoders
import email.encoders # [reimported]
import sys # [reimported] #pylint: disable=ungrouped-imports,wrong-import-order
def no_reimport():
"""docstring"""
import os #pylint: disable=import-outside-toplevel
print(os)
def reimport():
"""This function contains a reimport."""
import sys # [reimported,redefined-outer-name] #pylint: disable=import-outside-toplevel
del sys
del sys, ElementTree, xml.etree.ElementTree, encoders, email.encoders
from pandas._libs import algos as libalgos
import pandas._libs.algos as algos # [reimported]
|