summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-10-26 22:13:33 +0200
committerMichael Stahl <mstahl@redhat.com>2016-10-26 22:16:08 +0200
commitaa70294ffc0abbeeb30b4c4001e4db8b3539bf75 (patch)
tree225914ab32f8c72269b06b82de20cf7e959600e4 /bin
parent22d0970e690d7a623619a84d5054b6f92b7acea4 (diff)
normalize existing emacs/vim mode-lines in python files
Bunch of these were setting C++ or Make modes and icky tabs... Also, reportedly Emacs can figure out to enable python-mode automatically. Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
Diffstat (limited to 'bin')
-rw-r--r--bin/convwatch.py2
-rwxr-xr-xbin/test-hid-vs-ui.py4
-rwxr-xr-xbin/upload_symbols.py4
3 files changed, 5 insertions, 5 deletions
diff --git a/bin/convwatch.py b/bin/convwatch.py
index dacf0372de65..51a4f55dee6b 100644
--- a/bin/convwatch.py
+++ b/bin/convwatch.py
@@ -452,4 +452,4 @@ if __name__ == "__main__":
usage()
sys.exit(1)
-# vim:set shiftwidth=4 softtabstop=4 expandtab:
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/bin/test-hid-vs-ui.py b/bin/test-hid-vs-ui.py
index bbb46ae11eb1..635a121ad1d1 100755
--- a/bin/test-hid-vs-ui.py
+++ b/bin/test-hid-vs-ui.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
#
# This file is part of the LibreOffice project.
#
@@ -185,4 +185,4 @@ Note: The bot generating this message can be found and improved here:
else:
print errors
-# vim: set et sw=4 ts=4:
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/bin/upload_symbols.py b/bin/upload_symbols.py
index 07f3e3e415f7..72a03b6e56db 100755
--- a/bin/upload_symbols.py
+++ b/bin/upload_symbols.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -50,4 +50,4 @@ def main():
if __name__ == "__main__":
main()
-# vim:set shiftwidth=4 softtabstop=4 expandtab: */
+# vim: set shiftwidth=4 softtabstop=4 expandtab: