************* Module PersonalBanking W: 45, 0: TODO use to slice by month (fixme) W: 55, 0: TODO fail maybe because of rounding (fixme) W: 91, 0: TODO add to a table in order to facilitate plotting and comparison (fixme) C: 72, 0: Exactly one space required around assignment incomeindices=[] ^ (bad-whitespace) C:114, 0: Trailing whitespace (trailing-whitespace) C:133, 0: Exactly one space required around assignment labels=groups ^ (bad-whitespace) C:134, 0: Exactly one space required around assignment sizes=props ^ (bad-whitespace) C: 1, 0: Missing module docstring (missing-docstring) C: 22, 0: Invalid constant name "bankmovements" (invalid-name) C: 25, 0: Invalid constant name "bankmovements" (invalid-name) C: 27, 0: Invalid constant name "totalmovements" (invalid-name) E: 32,31: Undefined variable 'datetime' (undefined-variable) C: 33, 0: Invalid constant name "bm" (invalid-name) E: 43,15: Undefined variable 'nbm' (undefined-variable) C: 46, 0: Invalid constant name "targetmonthindices" (invalid-name) C: 52, 0: Invalid constant name "targetindices" (invalid-name) C: 53, 0: Invalid constant name "targetindices" (invalid-name) C: 58, 0: Invalid constant name "salaries" (invalid-name) C: 62, 0: Invalid constant name "food" (invalid-name) C: 63, 0: Invalid constant name "housecare" (invalid-name) C: 64, 0: Invalid constant name "services" (invalid-name) C: 65, 0: Invalid constant name "transports" (invalid-name) C: 66, 0: Invalid constant name "travel" (invalid-name) C: 67, 0: Invalid constant name "rent" (invalid-name) C: 68, 0: Invalid constant name "cash" (invalid-name) C: 70, 0: Invalid constant name "groups" (invalid-name) C: 72, 0: Invalid constant name "incomeindices" (invalid-name) C: 84, 0: Invalid constant name "targetindices" (invalid-name) C: 88, 0: Invalid constant name "total" (invalid-name) C: 93, 0: Invalid constant name "eventsindexes" (invalid-name) C: 94, 0: Invalid constant name "props" (invalid-name) C:133, 0: Invalid constant name "labels" (invalid-name) C:134, 0: Invalid constant name "sizes" (invalid-name) W: 6, 0: Unused datetime imported as dt (unused-import) Report ====== 90 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 |0 |0 |= |0 |0 | +---------+-------+-----------+-----------+------------+---------+ External dependencies --------------------- :: matplotlib \-pyplot (PersonalBanking) pandas (PersonalBanking) Raw metrics ----------- +----------+-------+------+---------+-----------+ |type |number |% |previous |difference | +==========+=======+======+=========+===========+ |code |70 |54.69 |73 |-3.00 | +----------+-------+------+---------+-----------+ |docstring |31 |24.22 |31 |= | +----------+-------+------+---------+-----------+ |comment |11 |8.59 |10 |+1.00 | +----------+-------+------+---------+-----------+ |empty |16 |12.50 |13 |+3.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 |28 |39 |-11.00 | +-----------+-------+---------+-----------+ |refactor |0 |0 |= | +-----------+-------+---------+-----------+ |warning |4 |6 |-2.00 | +-----------+-------+---------+-----------+ |error |2 |1 |+1.00 | +-----------+-------+---------+-----------+ Messages -------- +--------------------+------------+ |message id |occurrences | +====================+============+ |invalid-name |23 | +--------------------+------------+ |fixme |3 | +--------------------+------------+ |bad-whitespace |3 | +--------------------+------------+ |undefined-variable |2 | +--------------------+------------+ |unused-import |1 | +--------------------+------------+ |trailing-whitespace |1 | +--------------------+------------+ |missing-docstring |1 | +--------------------+------------+ Global evaluation ----------------- Your code has been rated at 5.33/10 (previous run: 4.62/10, +0.71)