make some checks optional via --pedantic