- changed title to refactor correct usage of boolean and automate test/search for that
refactor correct usage of boolean and automate test/search for that
Issue #525
wontfix
For better readable code we should use for boolean True or False and not 1 or 0 (any other from 1 different number). The integers used get casted automaticly so we don’t have an error.
But sometimes I read the codebase I see zorder=1, zorder=3 or Display(visible=0, size=(1280, 1024)). At some point this can give misleading ideas. We should have a clear separation.
Before this gets done we should have pytest or another option be able to analyze our usage.
Comments (4)
-
reporter -
reporter requested help on https://github.com/pytest-dev/pytest/issues/6693
-
reporter - changed status to wontfix
currently we don't have problems by that
-
reporter - changed milestone to 2.0.0
- Log in to comment