diff options
author | Philipp Albrecht <palbrecht@mailbox.org> | 2023-06-30 10:57:51 +0200 |
---|---|---|
committer | Philipp Albrecht <palbrecht@mailbox.org> | 2023-06-30 11:03:06 +0200 |
commit | d9e8b638bf6d20ff6d2179db7c105385c8ddad1d (patch) | |
tree | dc512a22230ae531ae1ef308573dbe0bd354f60b /tests/unit/utils/test_log.py | |
parent | 4a31c537c252bf6bf60dd028330741bc43e4e9a1 (diff) | |
download | qutebrowser-d9e8b638bf6d20ff6d2179db7c105385c8ddad1d.tar.gz qutebrowser-d9e8b638bf6d20ff6d2179db7c105385c8ddad1d.zip |
Remove vim modelines
We're deprecating vim modelines in favor of `.editorconfig`.
Removing vim modelines could be done using two one-liners. Most of the vim modelines
were followed by an empty line, so this one-liner took care of these ones:
```sh
rg '^# vim: .+\n\n' -l | xargs sed -i '/^# vim: /,+1d'
```
Then some of the vim modelines were followed by a pylint configuration line, so running
this one-liner afterwards took care of that:
```sh
rg '^# vim:' -l | xargs sed -i '/^# vim: /d'
```
Diffstat (limited to 'tests/unit/utils/test_log.py')
-rw-r--r-- | tests/unit/utils/test_log.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/unit/utils/test_log.py b/tests/unit/utils/test_log.py index 921d354d1..51b014f81 100644 --- a/tests/unit/utils/test_log.py +++ b/tests/unit/utils/test_log.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. |