Closed slinlee closed 2 years ago
This complains about F632 use ==/!= to compare constant literals (str, bytes, int, float, tuple) for a few of these lines
F632 use ==/!= to compare constant literals (str, bytes, int, float, tuple)
https://github.com/SkymindIO/nativerl/blob/5f18f2290c707938aa748ede167783d0f4d3a659/nativerl/python/tests/factory/util/writer.py#L40
yeah, it should be == instead of is. that's actually a fair point.
==
This complains about
F632 use ==/!= to compare constant literals (str, bytes, int, float, tuple)
for a few of these lineshttps://github.com/SkymindIO/nativerl/blob/5f18f2290c707938aa748ede167783d0f4d3a659/nativerl/python/tests/factory/util/writer.py#L40