PathmindAI / nativerl

Train reinforcement learning agents using AnyLogic or Python-based simulations
Apache License 2.0
19 stars 4 forks source link

Python lint error - writer.py #442

Closed slinlee closed 2 years ago

slinlee commented 2 years ago

This complains about F632 use ==/!= to compare constant literals (str, bytes, int, float, tuple) for a few of these lines

https://github.com/SkymindIO/nativerl/blob/5f18f2290c707938aa748ede167783d0f4d3a659/nativerl/python/tests/factory/util/writer.py#L40

maxpumperla commented 2 years ago

yeah, it should be == instead of is. that's actually a fair point.