epignatelli / navix

Accelerated minigrid environments with JAX
Apache License 2.0
116 stars 10 forks source link

Sprits/opendoor #32

Closed epignatelli closed 1 year ago

epignatelli commented 1 year ago

Solves #26

And fixes the non-direction tile rendering

github-actions[bot] commented 1 year ago
************* Module navix
navix/__init__.py:1:0: C0114: Missing module docstring (missing-module-docstring)
************* Module navix._version
navix/_version.py:1:0: C0114: Missing module docstring (missing-module-docstring)
************* Module navix.actions
navix/actions.py:114:0: C0301: Line too long (111/100) (line-too-long)
navix/actions.py:133:0: C0325: Unnecessary parens after '=' keyword (superfluous-parens)
navix/actions.py:139:0: C0301: Line too long (113/100) (line-too-long)
navix/actions.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/actions.py:119:0: W0622: Redefining built-in 'open' (redefined-builtin)
navix/actions.py:64:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:75:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:79:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:83:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:87:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:91:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:95:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:99:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:103:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:134:4: W0621: Redefining name 'open' from outer scope (line 119) (redefined-outer-name)
navix/actions.py:21:0: W0611: Unused Tuple imported from typing (unused-import)
navix/actions.py:27:0: W0611: Unused Door imported from entities (unused-import)
navix/actions.py:27:0: W0611: Unused Key imported from entities (unused-import)
************* Module navix.components
navix/components.py:52:0: C0301: Line too long (101/100) (line-too-long)
navix/components.py:62:0: C0301: Line too long (109/100) (line-too-long)
navix/components.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/components.py:36:0: C0115: Missing class docstring (missing-class-docstring)
navix/components.py:45:0: C0115: Missing class docstring (missing-class-docstring)
navix/components.py:45:0: R0903: Too few public methods (0/2) (too-few-public-methods)
navix/components.py:50:0: C0115: Missing class docstring (missing-class-docstring)
navix/components.py:50:0: R0903: Too few public methods (0/2) (too-few-public-methods)
navix/components.py:55:0: C0115: Missing class docstring (missing-class-docstring)
navix/components.py:55:0: R0903: Too few public methods (0/2) (too-few-public-methods)
navix/components.py:60:0: C0115: Missing class docstring (missing-class-docstring)
navix/components.py:60:0: R0903: Too few public methods (0/2) (too-few-public-methods)
navix/components.py:65:0: C0115: Missing class docstring (missing-class-docstring)
navix/components.py:65:0: R0903: Too few public methods (0/2) (too-few-public-methods)
navix/components.py:70:0: C0115: Missing class docstring (missing-class-docstring)
navix/components.py:70:0: R0903: Too few public methods (0/2) (too-few-public-methods)
navix/components.py:77:0: C0115: Missing class docstring (missing-class-docstring)
navix/components.py:77:0: R0903: Too few public methods (0/2) (too-few-public-methods)
navix/components.py:82:0: C0115: Missing class docstring (missing-class-docstring)
navix/components.py:82:0: R0903: Too few public methods (0/2) (too-few-public-methods)
************* Module navix.entities
navix/entities.py:8:0: C0301: Line too long (146/100) (line-too-long)
navix/entities.py:29:0: C0301: Line too long (133/100) (line-too-long)
navix/entities.py:46:0: C0301: Line too long (147/100) (line-too-long)
navix/entities.py:71:0: C0301: Line too long (104/100) (line-too-long)
navix/entities.py:93:0: C0301: Line too long (105/100) (line-too-long)
navix/entities.py:94:0: C0301: Line too long (112/100) (line-too-long)
navix/entities.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/entities.py:12:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:12:19: C0103: Argument name "x" doesn't conform to snake_case naming style (invalid-name)
navix/entities.py:21:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:18:0: R0903: Too few public methods (1/2) (too-few-public-methods)
navix/entities.py:29:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:46:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:71:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:71:66: C0103: Argument name "id" doesn't conform to snake_case naming style (invalid-name)
navix/entities.py:71:66: W0622: Redefining built-in 'id' (redefined-builtin)
navix/entities.py:100:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:123:8: W0622: Redefining built-in 'open' (redefined-builtin)
navix/entities.py:145:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:156:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:167:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:6:0: C0412: Imports from package jax are not grouped (ungrouped-imports)
************* Module navix.environments.environment
navix/environments/environment.py:53:0: C0301: Line too long (105/100) (line-too-long)
navix/environments/environment.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/environments/environment.py:38:0: C0115: Missing class docstring (missing-class-docstring)
navix/environments/environment.py:47:0: C0115: Missing class docstring (missing-class-docstring)
navix/environments/environment.py:47:0: R0903: Too few public methods (0/2) (too-few-public-methods)
navix/environments/environment.py:64:0: C0115: Missing class docstring (missing-class-docstring)
navix/environments/environment.py:80:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/environments/environment.py:83:4: W0102: Dangerous default value ACTIONS (builtins.dict) as argument (dangerous-default-value)
navix/environments/environment.py:97:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/environments/environment.py:97:4: W0102: Dangerous default value ACTIONS (builtins.dict) as argument (dangerous-default-value)
navix/environments/environment.py:107:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/environments/environment.py:110:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/environments/environment.py:113:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/environments/environment.py:114:62: C0103: Argument name "t" doesn't conform to snake_case naming style (invalid-name)
************* Module navix.environments.keydoor
navix/environments/keydoor.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/environments/keydoor.py:17:0: C0115: Missing class docstring (missing-class-docstring)
navix/environments/keydoor.py:18:4: R0914: Too many local variables (22/15) (too-many-locals)
navix/environments/keydoor.py:19:13: C0103: Variable name "k1" doesn't conform to snake_case naming style (invalid-name)
navix/environments/keydoor.py:19:17: C0103: Variable name "k2" doesn't conform to snake_case naming style (invalid-name)
navix/environments/keydoor.py:19:21: C0103: Variable name "k3" doesn't conform to snake_case naming style (invalid-name)
navix/environments/keydoor.py:19:25: C0103: Variable name "k4" doesn't conform to snake_case naming style (invalid-name)
************* Module navix.environments.room
navix/environments/room.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/environments/room.py:35:0: C0115: Missing class docstring (missing-class-docstring)
navix/environments/room.py:37:13: C0103: Variable name "k1" doesn't conform to snake_case naming style (invalid-name)
navix/environments/room.py:37:17: C0103: Variable name "k2" doesn't conform to snake_case naming style (invalid-name)
navix/environments/room.py:22:0: W0611: Unused Callable imported from typing (unused-import)
************* Module navix.graphics
navix/graphics.py:122:0: C0301: Line too long (122/100) (line-too-long)
navix/graphics.py:365:0: C0301: Line too long (123/100) (line-too-long)
navix/graphics.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/graphics.py:53:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:101:0: C0115: Missing class docstring (missing-class-docstring)
navix/graphics.py:106:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:101:0: R0903: Too few public methods (1/2) (too-few-public-methods)
navix/graphics.py:121:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:122:49: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
navix/graphics.py:128:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:134:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:143:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:149:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:155:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:161:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:173:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:189:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:203:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:212:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:212:0: R0914: Too many local variables (17/15) (too-many-locals)
navix/graphics.py:218:4: C0103: Variable name "y" doesn't conform to snake_case naming style (invalid-name)
navix/graphics.py:218:7: C0103: Variable name "x" doesn't conform to snake_case naming style (invalid-name)
navix/graphics.py:248:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:254:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:259:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:264:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:271:4: W0612: Unused variable 'door_locked' (unused-variable)
navix/graphics.py:321:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:341:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:357:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/graphics.py:3:0: W0611: Unused Any imported from typing (unused-import)
navix/graphics.py:3:0: W0611: Unused Dict imported from typing (unused-import)
************* Module navix.grid
navix/grid.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/grid.py:34:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/grid.py:38:38: W0621: Redefining name 'coordinates' from outer scope (line 34) (redefined-outer-name)
navix/grid.py:71:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/grid.py:83:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/grid.py:87:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/grid.py:91:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/grid.py:95:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/grid.py:99:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/grid.py:100:32: C0103: Argument name "n" doesn't conform to snake_case naming style (invalid-name)
navix/grid.py:110:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/grid.py:110:37: C0103: Argument name "n" doesn't conform to snake_case naming style (invalid-name)
navix/grid.py:114:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/grid.py:114:20: C0103: Argument name "a" doesn't conform to snake_case naming style (invalid-name)
navix/grid.py:114:30: C0103: Argument name "b" doesn't conform to snake_case naming style (invalid-name)
navix/grid.py:148:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/grid.py:148:0: W0102: Dangerous default value {} as argument (dangerous-default-value)
************* Module navix.observations
navix/observations.py:97:0: C0301: Line too long (101/100) (line-too-long)
navix/observations.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/observations.py:59:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/observations.py:60:4: W0613: Unused argument 'state' (unused-argument)
navix/observations.py:61:4: W0613: Unused argument 'sprites_registry' (unused-argument)
navix/observations.py:66:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/observations.py:68:4: W0613: Unused argument 'sprites_registry' (unused-argument)
navix/observations.py:81:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module navix.tasks
navix/tasks.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/tasks.py:32:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/tasks.py:35:12: C0103: Variable name "fn" doesn't conform to snake_case naming style (invalid-name)
navix/tasks.py:42:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/tasks.py:42:9: W0613: Unused argument 'state' (unused-argument)
navix/tasks.py:46:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/tasks.py:46:15: W0613: Unused argument 'prev_state' (unused-argument)
navix/tasks.py:46:34: W0613: Unused argument 'action' (unused-argument)
navix/tasks.py:61:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/tasks.py:62:4: W0613: Unused argument 'prev_state' (unused-argument)
navix/tasks.py:62:38: W0613: Unused argument 'new_state' (unused-argument)
navix/tasks.py:68:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/tasks.py:69:4: W0613: Unused argument 'prev_state' (unused-argument)
navix/tasks.py:69:23: W0613: Unused argument 'action' (unused-argument)
navix/tasks.py:69:38: W0613: Unused argument 'new_state' (unused-argument)
navix/tasks.py:75:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module navix.terminations
navix/terminations.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/terminations.py:30:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/terminations.py:35:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/terminations.py:35:29: W0613: Unused argument 'prev_state' (unused-argument)
navix/terminations.py:35:48: W0613: Unused argument 'action' (unused-argument)
navix/terminations.py:24:0: W0611: Unused import jax (unused-import)
************* Module test_actions
tests/test_actions.py:53:0: C0301: Line too long (101/100) (line-too-long)
tests/test_actions.py:122:0: C0301: Line too long (101/100) (line-too-long)
tests/test_actions.py:148:0: C0301: Line too long (107/100) (line-too-long)
tests/test_actions.py:187:0: C0301: Line too long (101/100) (line-too-long)
tests/test_actions.py:236:0: C0301: Line too long (107/100) (line-too-long)
tests/test_actions.py:238:0: C0301: Line too long (102/100) (line-too-long)
tests/test_actions.py:305:0: C0301: Line too long (101/100) (line-too-long)
tests/test_actions.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/test_actions.py:9:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_actions.py:25:12: W0212: Access to a protected member _rotate of a client class (protected-access)
tests/test_actions.py:30:12: W0212: Access to a protected member _rotate of a client class (protected-access)
tests/test_actions.py:35:12: W0212: Access to a protected member _rotate of a client class (protected-access)
tests/test_actions.py:40:12: W0212: Access to a protected member _rotate of a client class (protected-access)
tests/test_actions.py:9:0: R1711: Useless return at end of function or method (useless-return)
tests/test_actions.py:47:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_actions.py:57:4: W0105: String statement has no effect (pointless-string-statement)
tests/test_actions.py:116:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_actions.py:127:4: W0105: String statement has no effect (pointless-string-statement)
tests/test_actions.py:147:19: W0212: Access to a protected member _walkable of a client class (protected-access)
tests/test_actions.py:148:12: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
tests/test_actions.py:181:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_actions.py:193:4: W0105: String statement has no effect (pointless-string-statement)
tests/test_actions.py:212:8: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
tests/test_actions.py:221:8: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
tests/test_actions.py:226:8: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
tests/test_actions.py:230:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_actions.py:261:8: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
tests/test_actions.py:269:8: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
tests/test_actions.py:277:8: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
tests/test_actions.py:284:8: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
tests/test_actions.py:291:8: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
tests/test_actions.py:298:8: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
tests/test_actions.py:305:8: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
************* Module test_entities
tests/test_entities.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/test_entities.py:8:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module test_environments
tests/test_environments.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/test_environments.py:6:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_environments.py:7:4: C0103: Function name "f" doesn't conform to snake_case naming style (invalid-name)
tests/test_environments.py:36:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_environments.py:37:4: C0103: Function name "f" doesn't conform to snake_case naming style (invalid-name)
************* Module test_grid
tests/test_grid.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/test_grid.py:6:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_grid.py:31:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_grid.py:44:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_grid.py:62:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_grid.py:64:4: C0103: Variable name "a" doesn't conform to snake_case naming style (invalid-name)
tests/test_grid.py:65:4: C0103: Variable name "b" doesn't conform to snake_case naming style (invalid-name)
tests/test_grid.py:67:11: W1114: Positional arguments appear to be out of order (arguments-out-of-order)
tests/test_grid.py:74:4: C0103: Variable name "a" doesn't conform to snake_case naming style (invalid-name)
tests/test_grid.py:75:4: C0103: Variable name "b" doesn't conform to snake_case naming style (invalid-name)
tests/test_grid.py:77:27: W1114: Positional arguments appear to be out of order (arguments-out-of-order)
tests/test_grid.py:84:4: C0103: Variable name "a" doesn't conform to snake_case naming style (invalid-name)
tests/test_grid.py:85:4: C0103: Variable name "b" doesn't conform to snake_case naming style (invalid-name)
tests/test_grid.py:87:27: W1114: Positional arguments appear to be out of order (arguments-out-of-order)
************* Module test_observations
tests/test_observations.py:20:0: C0301: Line too long (127/100) (line-too-long)
tests/test_observations.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/test_observations.py:8:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_observations.py:35:8: C0103: Variable name "x" doesn't conform to snake_case naming style (invalid-name)
tests/test_observations.py:36:8: C0103: Variable name "y" doesn't conform to snake_case naming style (invalid-name)
tests/test_observations.py:8:0: R1711: Useless return at end of function or method (useless-return)
************* Module test_terminations
tests/test_terminations.py:29:0: C0301: Line too long (101/100) (line-too-long)
tests/test_terminations.py:33:0: C0301: Line too long (101/100) (line-too-long)
tests/test_terminations.py:37:0: C0301: Line too long (101/100) (line-too-long)
tests/test_terminations.py:41:0: C0301: Line too long (101/100) (line-too-long)
tests/test_terminations.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/test_terminations.py:7:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_terminations.py:26:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_terminations.py:1:0: R0801: Similar lines in 2 files
==navix.environments.keydoor:[48:53]
==test_actions:[65:70]
        grid=grid,
        players=player,
        goals=goals,
        keys=keys,
        doors=doors, (duplicate-code)

Report
======
954 statements analysed.

Statistics by type
------------------

+---------+-------+-----------+-----------+------------+---------+
|type     |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module   |19     |NC         |NC         |0.00        |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|class    |21     |NC         |NC         |28.57       |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|method   |21     |NC         |NC         |33.33       |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|function |80     |NC         |NC         |18.75       |2.50     |
+---------+-------+-----------+-----------+------------+---------+

2133 lines have been analyzed

Raw metrics
-----------

+----------+-------+------+---------+-----------+
|type      |number |%     |previous |difference |
+==========+=======+======+=========+===========+
|code      |1306   |61.23 |NC       |NC         |
+----------+-------+------+---------+-----------+
|docstring |85     |3.98  |NC       |NC         |
+----------+-------+------+---------+-----------+
|comment   |296    |13.88 |NC       |NC         |
+----------+-------+------+---------+-----------+
|empty     |446    |20.91 |NC       |NC         |
+----------+-------+------+---------+-----------+

Duplication
-----------

+-------------------------+------+---------+-----------+
|                         |now   |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines      |0     |NC       |NC         |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |NC       |NC         |
+-------------------------+------+---------+-----------+

Messages by category
--------------------

+-----------+-------+---------+-----------+
|type       |number |previous |difference |
+===========+=======+=========+===========+
|convention |179    |NC       |NC         |
+-----------+-------+---------+-----------+
|refactor   |16     |NC       |NC         |
+-----------+-------+---------+-----------+
|warning    |40     |NC       |NC         |
+-----------+-------+---------+-----------+
|error      |0      |NC       |NC         |
+-----------+-------+---------+-----------+

Messages
--------

+---------------------------+------------+
|message id                 |occurrences |
+===========================+============+
|missing-function-docstring |79          |
+---------------------------+------------+
|line-too-long              |26          |
+---------------------------+------------+
|invalid-name               |26          |
+---------------------------+------------+
|missing-module-docstring   |19          |
+---------------------------+------------+
|missing-class-docstring    |15          |
+---------------------------+------------+
|unused-argument            |13          |
+---------------------------+------------+
|consider-using-f-string    |12          |
+---------------------------+------------+
|too-few-public-methods     |11          |
+---------------------------+------------+
|unused-import              |7           |
+---------------------------+------------+
|protected-access           |5           |
+---------------------------+------------+
|redefined-builtin          |3           |
+---------------------------+------------+
|pointless-string-statement |3           |
+---------------------------+------------+
|dangerous-default-value    |3           |
+---------------------------+------------+
|arguments-out-of-order     |3           |
+---------------------------+------------+
|useless-return             |2           |
+---------------------------+------------+
|too-many-locals            |2           |
+---------------------------+------------+
|redefined-outer-name       |2           |
+---------------------------+------------+
|unused-variable            |1           |
+---------------------------+------------+
|ungrouped-imports          |1           |
+---------------------------+------------+
|superfluous-parens         |1           |
+---------------------------+------------+
|duplicate-code             |1           |
+---------------------------+------------+

-----------------------------------
Your code has been rated at 7.54/10