File: E40.py

package info (click to toggle)
parso 0.8.5-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,260 kB
  • sloc: python: 10,983; makefile: 135
file content (39 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (5)
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
#: E401:7
import os, sys
# Okay
import os
import sys

from subprocess import Popen, PIPE

from myclass import MyClass
from foo.bar.yourclass import YourClass

import myclass
import foo.bar.yourclass
# All Okay from here until the definition of VERSION
__all__ = ['abc']

import foo
__version__ = "42"

import foo
__author__ = "Simon Gomizelj"

import foo
try:
    import foo
except ImportError:
    pass
else:
    hello('imported foo')
finally:
    hello('made attempt to import foo')

import bar
VERSION = '1.2.3'

#: E402
import foo
#: E402
import foo