Lava va #740
Lava va #740
1 new security issue (0 max.).
Here is an overview of what got changed by this pull request:
Issues
======
- Added 24
Complexity increasing per file
==============================
- tests/lava/tutorials/test_tutorials-lva.py 5
- src/lava/networks/resfire.py 2
- src/lava/networks/network.py 5
- tests/lava/networks/test_networks.py 1
- tests/lava/frameworks/test_frameworks.py 1
- src/lava/networks/gradedvecnetwork.py 2
Clones added
============
- tests/lava/tutorials/test_tutorials-lva.py 2
- src/lava/networks/resfire.py 1
- src/lava/networks/gradedvecnetwork.py 1
See the complete overview on Codacy
Annotations
Check notice on line 5 in src/lava/frameworks/loihi2.py
codacy-production / Codacy Static Code Analysis
src/lava/frameworks/loihi2.py#L5
'lava.networks.gradedvecnetwork.InputVec' imported but unused (F401)
Check warning on line 5 in src/lava/frameworks/loihi2.py
codacy-production / Codacy Static Code Analysis
src/lava/frameworks/loihi2.py#L5
Unused InputVec imported from lava.networks.gradedvecnetwork
Check notice on line 11 in src/lava/frameworks/loihi2.py
codacy-production / Codacy Static Code Analysis
src/lava/frameworks/loihi2.py#L11
'lava.networks.resfire.ResFireVec' imported but unused (F401)
Check warning on line 11 in src/lava/frameworks/loihi2.py
codacy-production / Codacy Static Code Analysis
src/lava/frameworks/loihi2.py#L11
Unused ResFireVec imported from lava.networks.resfire
Check notice on line 13 in src/lava/frameworks/loihi2.py
codacy-production / Codacy Static Code Analysis
src/lava/frameworks/loihi2.py#L13
'lava.magma.core.run_conditions.RunSteps' imported but unused (F401)
Check warning on line 13 in src/lava/frameworks/loihi2.py
codacy-production / Codacy Static Code Analysis
src/lava/frameworks/loihi2.py#L13
Unused RunSteps imported from lava.magma.core.run_conditions
Check notice on line 14 in src/lava/frameworks/loihi2.py
codacy-production / Codacy Static Code Analysis
src/lava/frameworks/loihi2.py#L14
'lava.magma.core.run_configs.Loihi2SimCfg' imported but unused (F401)
Check warning on line 14 in src/lava/frameworks/loihi2.py
codacy-production / Codacy Static Code Analysis
src/lava/frameworks/loihi2.py#L14
Unused Loihi2SimCfg imported from lava.magma.core.run_configs
Check warning on line 167 in src/lava/networks/gradedvecnetwork.py
codacy-production / Codacy Static Code Analysis
src/lava/networks/gradedvecnetwork.py#L167
Statement seems to have no effect
Check warning on line 168 in src/lava/networks/gradedvecnetwork.py
codacy-production / Codacy Static Code Analysis
src/lava/networks/gradedvecnetwork.py#L168
Statement seems to have no effect
Check notice on line 6 in src/lava/networks/network.py
codacy-production / Codacy Static Code Analysis
src/lava/networks/network.py#L6
'typing as ty' imported but unused (F401)
Check warning on line 6 in src/lava/networks/network.py
codacy-production / Codacy Static Code Analysis
src/lava/networks/network.py#L6
Unused typing imported as ty
Check warning on line 58 in src/lava/networks/network.py
codacy-production / Codacy Static Code Analysis
src/lava/networks/network.py#L58
Statement seems to have no effect
Check warning on line 150 in src/lava/networks/network.py
codacy-production / Codacy Static Code Analysis
src/lava/networks/network.py#L150
Statement seems to have no effect
Check warning on line 13 in tests/lava/frameworks/test_frameworks.py
codacy-production / Codacy Static Code Analysis
tests/lava/frameworks/test_frameworks.py#L13
Unused lava.frameworks.loihi2 imported as lv
Check warning on line 17 in tests/lava/networks/test_networks.py
codacy-production / Codacy Static Code Analysis
tests/lava/networks/test_networks.py#L17
Unused variable 'inputvec'
Check warning on line 18 in tests/lava/networks/test_networks.py
codacy-production / Codacy Static Code Analysis
tests/lava/networks/test_networks.py#L18
Unused variable 'outputvec'
Check warning on line 19 in tests/lava/networks/test_networks.py
codacy-production / Codacy Static Code Analysis
tests/lava/networks/test_networks.py#L19
Unused variable 'threshvec'
Check warning on line 20 in tests/lava/networks/test_networks.py
codacy-production / Codacy Static Code Analysis
tests/lava/networks/test_networks.py#L20
Unused variable 'gradeddense'
Check warning on line 21 in tests/lava/networks/test_networks.py
codacy-production / Codacy Static Code Analysis
tests/lava/networks/test_networks.py#L21
Unused variable 'gradedsparse'
Check warning on line 22 in tests/lava/networks/test_networks.py
codacy-production / Codacy Static Code Analysis
tests/lava/networks/test_networks.py#L22
Unused variable 'productvec'
Check warning on line 23 in tests/lava/networks/test_networks.py
codacy-production / Codacy Static Code Analysis
tests/lava/networks/test_networks.py#L23
Unused variable 'lifvec'
Check warning on line 24 in tests/lava/networks/test_networks.py
codacy-production / Codacy Static Code Analysis
tests/lava/networks/test_networks.py#L24
Unused variable 'normnet'
Check warning on line 9 in tests/lava/tutorials/test_tutorials-lva.py
codacy-production / Codacy Static Code Analysis
tests/lava/tutorials/test_tutorials-lva.py#L9
Consider possible security implications associated with the subprocess module.