-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpylint.output
More file actions
125 lines (93 loc) · 4 KB
/
pylint.output
File metadata and controls
125 lines (93 loc) · 4 KB
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
************* Module modules.level
R: 95, 4: Method could be a function (no-self-use)
R:109, 4: Method could be a function (no-self-use)
W:123, 8: Attempting to unpack a non-sequence defined at line 43 (unpacking-non-sequence)
************* Module modules.engine
R: 15, 0: Too many instance attributes (9/7) (too-many-instance-attributes)
Report
======
459 statements analysed.
Statistics by type
------------------
+---------+-------+-----------+-----------+------------+---------+
|type |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module |14 |14 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|class |10 |10 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|method |70 |70 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|function |9 |9 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
External dependencies
---------------------
::
modules
\-bag (modules.engine)
\-command_line (modules.engine)
\-level (modules.level_loader)
\-level_loader (modules.engine)
\-locatable (modules.item,modules.player,modules.monsters)
\-monsters (modules.level_loader)
\-movement (modules.monsters)
\-player (modules.engine)
\-world (modules.engine)
Raw metrics
-----------
+----------+-------+------+---------+-----------+
|type |number |% |previous |difference |
+==========+=======+======+=========+===========+
|code |548 |73.26 |548 |= |
+----------+-------+------+---------+-----------+
|docstring |144 |19.25 |144 |= |
+----------+-------+------+---------+-----------+
|comment |13 |1.74 |13 |= |
+----------+-------+------+---------+-----------+
|empty |43 |5.75 |43 |= |
+----------+-------+------+---------+-----------+
Duplication
-----------
+-------------------------+------+---------+-----------+
| |now |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines |0 |0 |= |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |0.000 |= |
+-------------------------+------+---------+-----------+
Messages by category
--------------------
+-----------+-------+---------+-----------+
|type |number |previous |difference |
+===========+=======+=========+===========+
|convention |0 |0 |= |
+-----------+-------+---------+-----------+
|refactor |3 |3 |= |
+-----------+-------+---------+-----------+
|warning |1 |1 |= |
+-----------+-------+---------+-----------+
|error |0 |0 |= |
+-----------+-------+---------+-----------+
% errors / warnings by module
-----------------------------
+---------------+------+--------+---------+-----------+
|module |error |warning |refactor |convention |
+===============+======+========+=========+===========+
|modules.level |0.00 |100.00 |66.67 |0.00 |
+---------------+------+--------+---------+-----------+
|modules.engine |0.00 |0.00 |33.33 |0.00 |
+---------------+------+--------+---------+-----------+
Messages
--------
+-----------------------------+------------+
|message id |occurrences |
+=============================+============+
|no-self-use |2 |
+-----------------------------+------------+
|unpacking-non-sequence |1 |
+-----------------------------+------------+
|too-many-instance-attributes |1 |
+-----------------------------+------------+
Global evaluation
-----------------
Your code has been rated at 9.91/10 (previous run: 9.91/10, +0.00)