databio / pypiper

Python toolkit for building restartable pipelines
http://pypiper.databio.org
BSD 2-Clause "Simplified" License
45 stars 9 forks source link

SyntaxWarning on first import #196

Closed vreuter closed 8 months ago

vreuter commented 1 year ago

Upon first import of pypiper (version 0.12.3) in a Python 3.10 REPL, I see a few syntax warnings based on is-based, rather than ==-based, comparison. Could code be changed to avoid that?

pypiper/utils.py:349: SyntaxWarning: "is" with a literal. Did you mean "=="
donaldcampbelljr commented 9 months ago

I believe this is now fixed with 0b430c7ab416f35389a85683c56c2258adb31e60