OCA / pylint-odoo

Odoo plugin for Pylint
http://www.pylint.org
143 stars 168 forks source link

[REM] eval-referenced: Replaced by eval-used check from pylint #408

Closed moylop260 closed 1 year ago

moylop260 commented 1 year ago

The check eval-referenced is heavy to compute since it needs to check

the inferred node for each variable name

eval-used will detect almost of case using this way

eval-referenced detected the following cases:

my_var = eval

eval-used is only detecting the following cases:

eval("...")

So, they are less cases but without heavy process

Running the following command:

The heavy process in the profiler result is: