forked from tmthydvnprt/compfipy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
linting_report.txt
129 lines (101 loc) · 4.52 KB
/
linting_report.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
************* Module compfipy.strategy
I: 19, 0: Locally disabling too-many-instance-attributes (R0902) (locally-disabled)
I: 19, 0: Locally disabling too-many-arguments (R0913) (locally-disabled)
************* Module compfipy.portfolio
I: 1, 0: Locally disabling too-many-public-methods (R0904) (locally-disabled)
I: 1, 0: Locally disabling too-many-instance-attributes (R0902) (locally-disabled)
I: 91, 0: Locally disabling too-many-statements (R0915) (locally-disabled)
I:250, 0: Locally enabling too-many-statements (R0915) (locally-enabled)
************* Module compfipy.market
I: 1, 0: Locally disabling global-statement (W0603) (locally-disabled)
I:363, 0: Locally disabling redefined-variable-type (R0204) (locally-disabled)
I:368, 0: Locally enabling redefined-variable-type (R0204) (locally-enabled)
I:457, 0: Locally disabling too-many-arguments (R0913) (locally-disabled)
I:457, 0: Locally disabling too-many-branches (R0912) (locally-disabled)
I:457, 0: Locally disabling too-many-statements (R0915) (locally-disabled)
I:704, 0: Locally disabling bare-except (W0702) (locally-disabled)
I:712, 0: Locally enabling bare-except (W0702) (locally-enabled)
************* Module compfipy.asset
I: 1, 0: Locally disabling too-many-public-methods (R0904) (locally-disabled)
I: 68, 0: Locally disabling line-too-long (C0301) (locally-disabled)
I:178, 0: Locally enabling line-too-long (C0301) (locally-enabled)
I:201, 0: Locally disabling too-many-statements (R0915) (locally-disabled)
I:360, 0: Locally enabling too-many-statements (R0915) (locally-enabled)
Report
======
1745 statements analysed.
Statistics by type
------------------
+---------+-------+-----------+-----------+------------+---------+
|type |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module |9 |9 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|class |5 |5 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|method |165 |165 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|function |62 |62 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
External dependencies
---------------------
::
compfipy
\-market (compfipy.models)
\-util (compfipy.asset)
dateutil
\-easter (compfipy.market)
matplotlib
\-pyplot (compfipy.asset)
numpy (compfipy.asset)
pandas (compfipy.asset)
scipy
\-stats (compfipy.asset)
tabulate (compfipy.asset)
Raw metrics
-----------
+----------+-------+------+---------+-----------+
|type |number |% |previous |difference |
+==========+=======+======+=========+===========+
|code |2054 |50.53 |2054 |= |
+----------+-------+------+---------+-----------+
|docstring |1243 |30.58 |1243 |= |
+----------+-------+------+---------+-----------+
|comment |314 |7.72 |313 |+1.00 |
+----------+-------+------+---------+-----------+
|empty |454 |11.17 |454 |= |
+----------+-------+------+---------+-----------+
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 |0 |0 |= |
+-----------+-------+---------+-----------+
|warning |0 |1 |-1.00 |
+-----------+-------+---------+-----------+
|error |0 |0 |= |
+-----------+-------+---------+-----------+
Messages
--------
+-----------------+------------+
|message id |occurrences |
+=================+============+
|locally-disabled |14 |
+-----------------+------------+
|locally-enabled |5 |
+-----------------+------------+
Global evaluation
-----------------
Your code has been rated at 10.00/10 (previous run: 9.99/10, +0.01)