Just an update on this: we just merged https://github.com/apache/beam/pull/11620 which enforces typechecking for all files that currently pass.
On Tue, Mar 3, 2020 at 1:12 PM Chad Dombrova <chad...@gmail.com> wrote: >> >> This probably does not apply yet, does optional mean that opting-in for all >> or none of the precommit hooks? Would contributors have a choice of which >> pre-commits they can opt-in too? > > > Yes, once the hook is installed, individual checks are opt-out and the design > is clearly built around a one-time override, rather than setting up a > long-term preference: https://pre-commit.com/#temporarily-disabling-hooks > > There might be better way that's not documented. >