Allow preupload hooks to ignore more formatting ktlint rules

This CL adds a --no-verify-format rule to ktlint.py so that preuploads
can ignore more formatting rules. This will be used by projects who
already use ktfmt for formatting new files, so that useful ktlint errors
(like unused variables) are not hidden by a ton of ktlint formatting
issues which we are now mostly ignoring.

Bug: 235461679
Test: Manual
Change-Id: I324bcaf4e9e2b087201810343471a55f2434339f
2 files changed
tree: e3c0ed650383fb7e5ac5731d0e68efaae0e36aee
  1. .editorconfig
  2. ktlint-android-all.jar
  3. ktlint.py
  4. LICENSE