blob: 762faa55111023b3026f7d5d8c3700b87164144a (
plain)
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
|
# pylint: disable=unused-import,multiple-imports,no-self-use,missing-docstring,invalid-name,too-few-public-methods
import abc
if 4 == 5:
import ast
def f():
import symtable # [import-outside-toplevel]
def g():
import os, sys # [import-outside-toplevel]
def h():
import time as thyme # [import-outside-toplevel]
def i():
import random as rand, socket as sock # [import-outside-toplevel]
class C:
import tokenize # [import-outside-toplevel]
def j(self):
import turtle # [import-outside-toplevel]
def k(flag):
if flag:
import tabnanny # [import-outside-toplevel]
def j():
from collections import defaultdict # [import-outside-toplevel]
|