-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpylint.txt
133 lines (105 loc) · 4.71 KB
/
pylint.txt
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
************* Module SalesBriefing
C: 22, 0: Line too long (116/100) (line-too-long)
C: 22, 0: Unnecessary parens after 'if' keyword (superfluous-parens)
C: 44, 0: Line too long (123/100) (line-too-long)
C: 52, 0: Line too long (105/100) (line-too-long)
C:119, 0: Line too long (116/100) (line-too-long)
C: 1, 0: Missing module docstring (missing-docstring)
W: 9,26: Unused argument 'context' (unused-argument)
W: 42,48: Unused argument 'session' (unused-argument)
W: 42,23: Unused argument 'session_started_request' (unused-argument)
C: 49, 0: Missing function docstring (missing-docstring)
W: 49,14: Unused argument 'launch_request' (unused-argument)
W: 49,30: Unused argument 'session' (unused-argument)
C: 59, 0: Missing function docstring (missing-docstring)
C: 73, 0: Missing function docstring (missing-docstring)
R: 73, 0: Too many local variables (22/15) (too-many-locals)
C: 82, 4: Invalid variable name "walmart_salesFigures_key" (invalid-name)
C: 84, 4: Invalid variable name "s3" (invalid-name)
C: 93, 4: Invalid variable name "walmartSales" (invalid-name)
C: 94, 4: Invalid variable name "targetSales" (invalid-name)
C: 95, 4: Invalid variable name "rubbermaiddotcomSales" (invalid-name)
C: 96, 4: Invalid variable name "homedepotSales" (invalid-name)
C: 97, 4: Invalid variable name "publixSales" (invalid-name)
C: 99, 4: Invalid variable name "usEastSales" (invalid-name)
C:100, 4: Invalid variable name "usCentralSales" (invalid-name)
C:101, 4: Invalid variable name "usWestSales" (invalid-name)
C:116, 4: Invalid variable name "strToday" (invalid-name)
C:137, 0: Missing function docstring (missing-docstring)
C:151, 0: Missing function docstring (missing-docstring)
C:176, 0: Missing function docstring (missing-docstring)
Report
======
73 statements analysed.
Statistics by type
------------------
+---------+-------+-----------+-----------+------------+---------+
|type |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module |1 |1 |= |0.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|class |0 |0 |= |0 |0 |
+---------+-------+-----------+-----------+------------+---------+
|method |0 |0 |= |0 |0 |
+---------+-------+-----------+-----------+------------+---------+
|function |8 |8 |= |25.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
External dependencies
---------------------
::
boto3 (SalesBriefing)
Raw metrics
-----------
+----------+-------+------+---------+-----------+
|type |number |% |previous |difference |
+==========+=======+======+=========+===========+
|code |83 |45.60 |83 |= |
+----------+-------+------+---------+-----------+
|docstring |22 |12.09 |27 |-5.00 |
+----------+-------+------+---------+-----------+
|comment |26 |14.29 |23 |+3.00 |
+----------+-------+------+---------+-----------+
|empty |51 |28.02 |50 |+1.00 |
+----------+-------+------+---------+-----------+
Duplication
-----------
+-------------------------+------+---------+-----------+
| |now |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines |0 |0 |= |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |0.000 |= |
+-------------------------+------+---------+-----------+
Messages by category
--------------------
+-----------+-------+---------+-----------+
|type |number |previous |difference |
+===========+=======+=========+===========+
|convention |23 |23 |= |
+-----------+-------+---------+-----------+
|refactor |1 |1 |= |
+-----------+-------+---------+-----------+
|warning |5 |6 |-1.00 |
+-----------+-------+---------+-----------+
|error |0 |0 |= |
+-----------+-------+---------+-----------+
Messages
--------
+-------------------+------------+
|message id |occurrences |
+===================+============+
|invalid-name |11 |
+-------------------+------------+
|missing-docstring |7 |
+-------------------+------------+
|unused-argument |5 |
+-------------------+------------+
|line-too-long |4 |
+-------------------+------------+
|too-many-locals |1 |
+-------------------+------------+
|superfluous-parens |1 |
+-------------------+------------+
Global evaluation
-----------------
Your code has been rated at 6.03/10 (previous run: 5.95/10, +0.08)