epignatelli / navix

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

Python ver #51

Closed epignatelli closed 10 months ago

github-actions[bot] commented 10 months ago
************* Module navix._version
navix/_version.py:1:0: C0114: Missing module docstring (missing-module-docstring)
************* Module navix.actions
navix/actions.py:1:0: C0114: Missing module docstring (missing-module-docstring)
navix/actions.py:150:0: W0622: Redefining built-in 'open' (redefined-builtin)
navix/actions.py:31:0: C0115: Missing class docstring (missing-class-docstring)
navix/actions.py:31:0: R0903: Too few public methods (0/2) (too-few-public-methods)
navix/actions.py:81:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:92:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:96:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:100:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:104:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:109:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:114:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:119:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:124:0: C0116: Missing function or method docstring (missing-function-docstring)
navix/actions.py:172:4: W0621: Redefining name 'open' from outer scope (line 150) (redefined-outer-name)
************* Module navix.entities
navix/entities.py:62:0: C0301: Line too long (103/100) (line-too-long)
navix/entities.py:217:0: C0301: Line too long (105/100) (line-too-long)
navix/entities.py:218: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:27:0: C0115: Missing class docstring (missing-class-docstring)
navix/entities.py:27:0: R0903: Too few public methods (0/2) (too-few-public-methods)
navix/entities.py:70:15: E1101: Instance of 'Field' has no 'shape' member (no-member)
navix/entities.py:70:37: E1101: Instance of 'Field' has no 'ndim' member (no-member)
navix/entities.py:73:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:77:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:85:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:113:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:147:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:169:30: E1101: Instance of 'Field' has no 'shape' member (no-member)
navix/entities.py:183:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:186:8: W0622: Redefining built-in 'id' (redefined-builtin)
navix/entities.py:205:30: E1101: Instance of 'Field' has no 'shape' member (no-member)
navix/entities.py:224:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:229:8: W0622: Redefining built-in 'open' (redefined-builtin)
navix/entities.py:250:30: E1101: Instance of 'Field' has no 'shape' member (no-member)
navix/entities.py:272:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:275:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:279:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:282:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:286:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:289:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:289:41: W0613: Unused argument 'idx' (unused-argument)
navix/entities.py:294:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:297:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:301:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:304:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:308:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:311:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:315:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:318:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:321:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:324:4: C0116: Missing function or method docstring (missing-function-docstring)
navix/entities.py:9:0: C0412: Imports from package jax are not grouped (ungrouped-imports)

Report
======
258 statements analysed.

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

+---------+-------+-----------+-----------+------------+---------+
|type     |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module   |3      |NC         |NC         |0.00        |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|class    |9      |NC         |NC         |77.78       |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|method   |47     |NC         |NC         |51.06       |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|function |13     |NC         |NC         |30.77       |0.00     |
+---------+-------+-----------+-----------+------------+---------+

552 lines have been analyzed

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

+----------+-------+------+---------+-----------+
|type      |number |%     |previous |difference |
+==========+=======+======+=========+===========+
|code      |340    |61.59 |NC       |NC         |
+----------+-------+------+---------+-----------+
|docstring |21     |3.80  |NC       |NC         |
+----------+-------+------+---------+-----------+
|comment   |59     |10.69 |NC       |NC         |
+----------+-------+------+---------+-----------+
|empty     |132    |23.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 |41     |NC       |NC         |
+-----------+-------+---------+-----------+
|refactor   |2      |NC       |NC         |
+-----------+-------+---------+-----------+
|warning    |5      |NC       |NC         |
+-----------+-------+---------+-----------+
|error      |5      |NC       |NC         |
+-----------+-------+---------+-----------+

Messages
--------

+---------------------------+------------+
|message id                 |occurrences |
+===========================+============+
|missing-function-docstring |32          |
+---------------------------+------------+
|no-member                  |5           |
+---------------------------+------------+
|redefined-builtin          |3           |
+---------------------------+------------+
|missing-module-docstring   |3           |
+---------------------------+------------+
|line-too-long              |3           |
+---------------------------+------------+
|too-few-public-methods     |2           |
+---------------------------+------------+
|missing-class-docstring    |2           |
+---------------------------+------------+
|unused-argument            |1           |
+---------------------------+------------+
|ungrouped-imports          |1           |
+---------------------------+------------+
|redefined-outer-name       |1           |
+---------------------------+------------+

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