summaryrefslogtreecommitdiff
path: root/sw/qa/python
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 /sw/qa/python
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 'sw/qa/python')
-rw-r--r--sw/qa/python/check_styles.py4
-rw-r--r--sw/qa/python/check_table.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/qa/python/check_styles.py b/sw/qa/python/check_styles.py
index 8022acd63017..29fddf6433d6 100644
--- a/sw/qa/python/check_styles.py
+++ b/sw/qa/python/check_styles.py
@@ -1,5 +1,5 @@
#! /usr/bin/env python
-# -*- Mode: python; 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.
#
@@ -243,4 +243,4 @@ class CheckStyle(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
-# /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sw/qa/python/check_table.py b/sw/qa/python/check_table.py
index 6ea619a3804b..2b7de595a534 100644
--- a/sw/qa/python/check_table.py
+++ b/sw/qa/python/check_table.py
@@ -577,4 +577,4 @@ class CheckTable(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
-# /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+# vim: set shiftwidth=4 softtabstop=4 expandtab: