nilesh2797/zestxml

SyntaxWarning: "is" with a literal. Did you mean "=="? (utils.py:132)

Opened this issue · 0 comments

Hi,

I get an Python warning when running the metrics.py script.

$ python metrics.py DNB
/home/nico/projects/zestxml/utils.py:132: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if inv_prop_ is -1 : inv_prop_ = inv_prop

I'm using Python 3.8.12

$ python --version
Python 3.8.12

Maybe it's not relevant or just a minor thing.