andreas-abel / uiCA

uops.info Code Analyzer
GNU Affero General Public License v3.0
230 stars 16 forks source link

Type checker errors #3

Closed adsharma closed 3 years ago

adsharma commented 3 years ago

I used pyright and it reported the following errors

https://paste.ubuntu.com/p/g3RxCsPrcC/

andreas-abel commented 3 years ago

Thanks. The first two errors can be avoided by following the installation instructions in the README (in particular, "pip3 install plotly"). Many of the other errors appear to be false positives.

adsharma commented 3 years ago

That's a large list of errors from a type checker - some of which may be real issues (like forgetting to check for none or detection of paths where a certain variable may not be initialized).

Also some low hanging fruit:

uiCA.py:1781:9: F841 local variable 'allInputOperands' is assigned to but never used uiCA.py:2632:5: F841 local variable 'tableWidth' is assigned to but never used