Skip to content
Commit 621c4833 authored by ntome's avatar ntome 💬 Committed by hydrargyrum
Browse files

tools/hooks: add check-op-precedence.py checker for ambiguous precedence

Constructions like:

    a and b or c
    1 << 2 & 3

are discouraged because precedence isn't obvious at first sight.
Parentheses must be added to make code explicit.
parent 93906eab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment