From 860e4c4943ad062bd0eff99f28e7d64804b3c08e Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 3 May 2018 00:10:20 -0400 Subject: Remove all modelines from the project Many of these are pointless (e.g. there is no need to explicitly turn on spellchecking and language dictionaries for the manpages by default). The only useful modelines are the ones enforcing the project coding standards for indentation style (and "maybe" filetype/syntax, but everything except the asciidoc manpages and makepkg.conf is already autodetected), and indent style can be applied more easily with .editorconfig Signed-off-by: Eli Schwartz Signed-off-by: Allan McRae --- test/pacman/Makefile.am | 2 -- test/pacman/pactest.py | 2 -- test/pacman/pmdb.py | 2 -- test/pacman/pmenv.py | 2 -- test/pacman/pmfile.py | 2 -- test/pacman/pmpkg.py | 2 -- test/pacman/pmrule.py | 2 -- test/pacman/pmtest.py | 2 -- test/pacman/tests/Makefile.am | 2 -- test/pacman/util.py | 2 -- test/scripts/Makefile.am | 2 -- test/scripts/human_to_size_test.sh | 2 -- test/scripts/parseopts_test.sh | 2 -- test/tap.sh | 2 -- test/util/Makefile.am | 2 -- test/util/vercmptest.sh | 2 -- 16 files changed, 32 deletions(-) (limited to 'test') diff --git a/test/pacman/Makefile.am b/test/pacman/Makefile.am index f71333c4..a36908a7 100644 --- a/test/pacman/Makefile.am +++ b/test/pacman/Makefile.am @@ -19,5 +19,3 @@ EXTRA_DIST = \ ChangeLog \ ldconfig.stub \ $(check_SCRIPTS) - -# vim:set noet: diff --git a/test/pacman/pactest.py b/test/pacman/pactest.py index b251ef45..1f5b8483 100755 --- a/test/pacman/pactest.py +++ b/test/pacman/pactest.py @@ -162,5 +162,3 @@ if __name__ == "__main__": if env.failed > 0: sys.exit(1) - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmdb.py b/test/pacman/pmdb.py index 1c425458..f7671987 100644 --- a/test/pacman/pmdb.py +++ b/test/pacman/pmdb.py @@ -257,5 +257,3 @@ class pmdb(object): serverpath = os.path.join(self.root, util.SYNCREPO, self.treename) util.mkdir(serverpath) shutil.copy(self.dbfile, serverpath) - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmenv.py b/test/pacman/pmenv.py index bf19ceaa..f1d626d3 100644 --- a/test/pacman/pmenv.py +++ b/test/pacman/pmenv.py @@ -69,5 +69,3 @@ class pmenv(object): tap.diag("==> Checking rules") tap.todo = t.expectfailure tap.subtest(lambda: t.check(), t.description) - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmfile.py b/test/pacman/pmfile.py index af37e9f2..f7204d68 100644 --- a/test/pacman/pmfile.py +++ b/test/pacman/pmfile.py @@ -80,5 +80,3 @@ class snapshot(object): return True return False - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py index db81225c..5a32ccd6 100644 --- a/test/pacman/pmpkg.py +++ b/test/pacman/pmpkg.py @@ -221,5 +221,3 @@ class pmpkg(object): data.append("%s() {\n%s\n}\n" % (key, value)) return "\n".join(data) - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmrule.py b/test/pacman/pmrule.py index 923ccde9..bdd0fcaa 100644 --- a/test/pacman/pmrule.py +++ b/test/pacman/pmrule.py @@ -189,5 +189,3 @@ class pmrule(object): success = not success self.result = success return success - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py index 0f0f84e0..00012ac6 100644 --- a/test/pacman/pmtest.py +++ b/test/pacman/pmtest.py @@ -323,5 +323,3 @@ class pmtest(object): def hookdir(self): return os.path.join(self.root, util.PM_HOOKDIR) - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/tests/Makefile.am b/test/pacman/tests/Makefile.am index b541b3d6..ba3d0993 100644 --- a/test/pacman/tests/Makefile.am +++ b/test/pacman/tests/Makefile.am @@ -3,5 +3,3 @@ check_SCRIPTS = $(wildcard *.py) noinst_SCRIPTS = $(check_SCRIPTS) EXTRA_DIST = $(check_SCRIPTS) - -# vim:set noet: diff --git a/test/pacman/util.py b/test/pacman/util.py index f84a6ae0..5fbe4c35 100644 --- a/test/pacman/util.py +++ b/test/pacman/util.py @@ -185,5 +185,3 @@ def mkdir(path): elif os.path.isfile(path): raise OSError("'%s' already exists and is not a directory" % path) os.makedirs(path, 0o755) - -# vim: set ts=4 sw=4 et: diff --git a/test/scripts/Makefile.am b/test/scripts/Makefile.am index ed1a9511..450a278d 100644 --- a/test/scripts/Makefile.am +++ b/test/scripts/Makefile.am @@ -8,5 +8,3 @@ noinst_SCRIPTS = $(check_SCRIPTS) EXTRA_DIST = \ $(check_SCRIPTS) - -# vim:set noet: diff --git a/test/scripts/human_to_size_test.sh b/test/scripts/human_to_size_test.sh index 6334495f..fe9a94ba 100755 --- a/test/scripts/human_to_size_test.sh +++ b/test/scripts/human_to_size_test.sh @@ -53,5 +53,3 @@ tap_parse_hts '1M' 1048576 tap_parse_hts ' 1 G ' 1073741824 tap_parse_hts '1Q' '' - -# vim: set noet: diff --git a/test/scripts/parseopts_test.sh b/test/scripts/parseopts_test.sh index a5821986..9674c6a6 100755 --- a/test/scripts/parseopts_test.sh +++ b/test/scripts/parseopts_test.sh @@ -112,5 +112,3 @@ tap_parse '--force --' 2 --force tap_parse '--clean foo --' 3 --clean=foo tap_finish - -# vim: set noet: diff --git a/test/tap.sh b/test/tap.sh index 38852691..894d49ca 100644 --- a/test/tap.sh +++ b/test/tap.sh @@ -159,5 +159,3 @@ tap_diff() { fi return $ret } - -# vim: ft=sh diff --git a/test/util/Makefile.am b/test/util/Makefile.am index 27ef49f1..92824e8c 100644 --- a/test/util/Makefile.am +++ b/test/util/Makefile.am @@ -5,5 +5,3 @@ noinst_SCRIPTS = $(check_SCRIPTS) EXTRA_DIST = \ $(check_SCRIPTS) - -# vim:set noet: diff --git a/test/util/vercmptest.sh b/test/util/vercmptest.sh index 18eeb37a..1541e7ae 100755 --- a/test/util/vercmptest.sh +++ b/test/util/vercmptest.sh @@ -114,5 +114,3 @@ tap_runtest 1:1.0 1.1 1 tap_runtest 1:1.1 1.1 1 tap_finish - -# vim: set noet: -- cgit v1.2.3-70-g09d2