cros lint: disable old-division with --py3

There's a bug in pylint when using pathlib.Path and the / operator
where it thinks we're doing division.  We can avoid this by disabling
the check when in --py3 mode.  This is safe because the import for
future division is a no-op in Python 3.

BUG=None
TEST=`cros lint --py3` on a file using pathlib no longer warns

Change-Id: I90adba5d6535ea1c39f31c1acd01e90558839252
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/2377466
Reviewed-by: George Burgess <gbiv@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/cli/cros/cros_lint.py b/cli/cros/cros_lint.py
index 61b214a..09a1bc9 100644
--- a/cli/cros/cros_lint.py
+++ b/cli/cros/cros_lint.py
@@ -180,6 +180,8 @@
     pylint = os.path.join(constants.CHROMITE_DIR, 'cli', 'cros', 'pylint-2')
   pylintrc = _GetPylintrc(path)
   cmd = [vpython, pylint, '--rcfile=%s' % pylintrc]
+  if interp == 'python3':
+    cmd += ['--disable=old-division']
   if output_format != 'default':
     cmd.append('--output-format=%s' % output_format)
   cmd.append(path)