summaryrefslogtreecommitdiff
path: root/doc/data/messages/u/use-implicit-booleaness-not-comparison-to-zero/good.py
blob: feae7fe302ca791c9310d501b12f8df4d942695c (plain)
1
2
3
4
5
6
def important_math(x: int, y: int) -> None:
    if not x:
        print("x is equal to zero")

    if y:
        print("y is not equal to zero")