Generated by `pyupgrade --py3-plus --keep-percent-format` on all our Python code except `zthumbor` and `zulip-ec2-configure-interfaces`, followed by manual indentation fixes. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
Fixes #8145.
Only check the first word using a black list approach to reduce force positive as shown in the current implementation.
As of Gitlint v0.8.2, the --extra-path option now accepts both directories and standalone python modules.