Skip to content

Commit fe6641f

Browse files
committed
submitting lesson 4
1 parent 1497be3 commit fe6641f

File tree

11 files changed

+10955
-0
lines changed

11 files changed

+10955
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
placeholder

students/kevin_cavanaugh/lesson04/assignment/data/customer.csv

Lines changed: 10000 additions & 0 deletions
Large diffs are not rendered by default.

students/kevin_cavanaugh/lesson04/assignment/lesson04.db

Whitespace-only changes.

students/kevin_cavanaugh/lesson04/assignment/pylint.output

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
************* Module customer_model
2+
src\customer_model.py:14:0: C0103: Constant name "database" doesn't conform to '(([A-Z_][A-Z0-9_]*)|(__.*__))$' pattern (invalid-name)
3+
4+
5+
Report
6+
======
7+
128 statements analysed.
8+
9+
Statistics by type
10+
------------------
11+
12+
+---------+-------+-----------+-----------+------------+---------+
13+
|type |number |old number |difference |%documented |%badname |
14+
+=========+=======+===========+===========+============+=========+
15+
|module |2 |2 |= |100.00 |0.00 |
16+
+---------+-------+-----------+-----------+------------+---------+
17+
|class |3 |3 |= |100.00 |0.00 |
18+
+---------+-------+-----------+-----------+------------+---------+
19+
|method |0 |0 |= |0 |0 |
20+
+---------+-------+-----------+-----------+------------+---------+
21+
|function |6 |6 |= |100.00 |0.00 |
22+
+---------+-------+-----------+-----------+------------+---------+
23+
24+
25+
26+
External dependencies
27+
---------------------
28+
::
29+
30+
customer_model (basic_operations)
31+
peewee (basic_operations,customer_model)
32+
33+
34+
35+
Raw metrics
36+
-----------
37+
38+
+----------+-------+------+---------+-----------+
39+
|type |number |% |previous |difference |
40+
+==========+=======+======+=========+===========+
41+
|code |146 |52.90 |146 |= |
42+
+----------+-------+------+---------+-----------+
43+
|docstring |50 |18.12 |50 |= |
44+
+----------+-------+------+---------+-----------+
45+
|comment |26 |9.42 |26 |= |
46+
+----------+-------+------+---------+-----------+
47+
|empty |54 |19.57 |54 |= |
48+
+----------+-------+------+---------+-----------+
49+
50+
51+
52+
Duplication
53+
-----------
54+
55+
+-------------------------+------+---------+-----------+
56+
| |now |previous |difference |
57+
+=========================+======+=========+===========+
58+
|nb duplicated lines |0 |0 |= |
59+
+-------------------------+------+---------+-----------+
60+
|percent duplicated lines |0.000 |0.000 |= |
61+
+-------------------------+------+---------+-----------+
62+
63+
64+
65+
Messages by category
66+
--------------------
67+
68+
+-----------+-------+---------+-----------+
69+
|type |number |previous |difference |
70+
+===========+=======+=========+===========+
71+
|convention |1 |1 |= |
72+
+-----------+-------+---------+-----------+
73+
|refactor |0 |0 |= |
74+
+-----------+-------+---------+-----------+
75+
|warning |0 |0 |= |
76+
+-----------+-------+---------+-----------+
77+
|error |0 |0 |= |
78+
+-----------+-------+---------+-----------+
79+
80+
81+
82+
% errors / warnings by module
83+
-----------------------------
84+
85+
+---------------+------+--------+---------+-----------+
86+
|module |error |warning |refactor |convention |
87+
+===============+======+========+=========+===========+
88+
|customer_model |0.00 |0.00 |0.00 |100.00 |
89+
+---------------+------+--------+---------+-----------+
90+
91+
92+
93+
Messages
94+
--------
95+
96+
+-------------+------------+
97+
|message id |occurrences |
98+
+=============+============+
99+
|invalid-name |1 |
100+
+-------------+------------+
101+
102+
103+
104+
105+
------------------------------------------------------------------
106+
Your code has been rated at 9.92/10 (previous run: 9.92/10, +0.00)
107+

students/kevin_cavanaugh/lesson04/assignment/pylintoutput.txt

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
************* Module customer_model
2+
src\customer_model.py:14:0: C0103: Constant name "database" doesn't conform to '(([A-Z_][A-Z0-9_]*)|(__.*__))$' pattern (invalid-name)
3+
4+
5+
Report
6+
======
7+
128 statements analysed.
8+
9+
Statistics by type
10+
------------------
11+
12+
+---------+-------+-----------+-----------+------------+---------+
13+
|type |number |old number |difference |%documented |%badname |
14+
+=========+=======+===========+===========+============+=========+
15+
|module |2 |2 |= |100.00 |0.00 |
16+
+---------+-------+-----------+-----------+------------+---------+
17+
|class |3 |3 |= |100.00 |0.00 |
18+
+---------+-------+-----------+-----------+------------+---------+
19+
|method |0 |0 |= |0 |0 |
20+
+---------+-------+-----------+-----------+------------+---------+
21+
|function |6 |6 |= |100.00 |0.00 |
22+
+---------+-------+-----------+-----------+------------+---------+
23+
24+
25+
26+
External dependencies
27+
---------------------
28+
::
29+
30+
customer_model (basic_operations)
31+
peewee (basic_operations,customer_model)
32+
33+
34+
35+
Raw metrics
36+
-----------
37+
38+
+----------+-------+------+---------+-----------+
39+
|type |number |% |previous |difference |
40+
+==========+=======+======+=========+===========+
41+
|code |146 |52.90 |146 |= |
42+
+----------+-------+------+---------+-----------+
43+
|docstring |50 |18.12 |50 |= |
44+
+----------+-------+------+---------+-----------+
45+
|comment |26 |9.42 |26 |= |
46+
+----------+-------+------+---------+-----------+
47+
|empty |54 |19.57 |54 |= |
48+
+----------+-------+------+---------+-----------+
49+
50+
51+
52+
Duplication
53+
-----------
54+
55+
+-------------------------+------+---------+-----------+
56+
| |now |previous |difference |
57+
+=========================+======+=========+===========+
58+
|nb duplicated lines |0 |0 |= |
59+
+-------------------------+------+---------+-----------+
60+
|percent duplicated lines |0.000 |0.000 |= |
61+
+-------------------------+------+---------+-----------+
62+
63+
64+
65+
Messages by category
66+
--------------------
67+
68+
+-----------+-------+---------+-----------+
69+
|type |number |previous |difference |
70+
+===========+=======+=========+===========+
71+
|convention |1 |1 |= |
72+
+-----------+-------+---------+-----------+
73+
|refactor |0 |0 |= |
74+
+-----------+-------+---------+-----------+
75+
|warning |0 |0 |= |
76+
+-----------+-------+---------+-----------+
77+
|error |0 |0 |= |
78+
+-----------+-------+---------+-----------+
79+
80+
81+
82+
% errors / warnings by module
83+
-----------------------------
84+
85+
+---------------+------+--------+---------+-----------+
86+
|module |error |warning |refactor |convention |
87+
+===============+======+========+=========+===========+
88+
|customer_model |0.00 |0.00 |0.00 |100.00 |
89+
+---------------+------+--------+---------+-----------+
90+
91+
92+
93+
Messages
94+
--------
95+
96+
+-------------+------------+
97+
|message id |occurrences |
98+
+=============+============+
99+
|invalid-name |1 |
100+
+-------------+------------+
101+
102+
103+
104+
105+
------------------------------------------------------------------
106+
Your code has been rated at 9.92/10 (previous run: 9.92/10, +0.00)
107+

0 commit comments

Comments
 (0)