diff options
author | Aurimas Liutikas <aurimas@google.com> | 2018-05-30 13:55:44 -0700 |
---|---|---|
committer | Aurimas Liutikas <aurimas@google.com> | 2018-05-30 13:55:44 -0700 |
commit | 91d5c551e6581968ef1f93d5e39d698353414f66 (patch) | |
tree | efb9af140a8cb698a460df7b09c73eb5454f97d7 /ktlint.py | |
parent | 48616490a4e7ea908a2ba92734eb421af769dd38 (diff) | |
download | ktlint-91d5c551e6581968ef1f93d5e39d698353414f66.tar.gz |
Pass in --android to ktlint
This makes sure that linelenght is enforced properly.
Test: None
Change-Id: I6e71fabf7d405cba33bc9d4769326531c20e1d66
Diffstat (limited to 'ktlint.py')
-rwxr-xr-x | ktlint.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,6 +48,8 @@ def main(args=None): if not ktlint_args: sys.exit(0) + ktlint_args += ['--android'] + ktlint_env = os.environ.copy() ktlint_env['JAVA_CMD'] = 'java' try: |