forked from life4/flakehell
-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.py
54 lines (36 loc) · 806 Bytes
/
example.py
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
46
47
48
49
50
51
52
53
54
#!/usr/bin/env perl
# built-in
import sys
from sys import *
from typing import Dict, List, Union
int = 12
++int
extra_parens = list((node for node in 'abc'))
some_tuple = (1, 2, )
breaking_pycodestyle=3
# commented: str = 'comment'
def camelCase(): ...
'{}'.format(1)
""
'%s' % 'test'
assert True
ipdb.set_trace()
logger.info(
'Hello {world}'.format(world='Earth')
)
def function_name(plugin: str ='flake8') ->str:
"""Test `wrong`rst code."""
return plugin
multiline_string = 'some\
string'
'\''
print('test')
def complex_annotation(
first: List[Union[List[str], Dict[str, Dict[str, str]]]],
):
...
def radon_check(for_data):
for first in for_data:
for second in for_data:
for third in for_data:
assert first == second == third