summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreenscreener <honzikcernoh@gmail.com>2022-06-11 14:58:55 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2022-06-13 09:31:05 +1000
commit15802a3871d15fcbd1a510b85715e633b11e078a (patch)
tree8881fef16183b051db2e6ce480114e829f6443cc
parentd5b61195553094f316015facb0d7a7ac2954d1b2 (diff)
downloadxf86-input-wacom-15802a3871d15fcbd1a510b85715e633b11e078a.tar.gz
Added vim modelines to python files.
-rw-r--r--test/__init__.py3
-rw-r--r--test/conftest.py3
-rw-r--r--test/test_wacom.py3
3 files changed, 9 insertions, 0 deletions
diff --git a/test/__init__.py b/test/__init__.py
index 02d78ad..83eb38c 100644
--- a/test/__init__.py
+++ b/test/__init__.py
@@ -371,3 +371,6 @@ class Touch:
id: int = attr.ib()
x: int = attr.ib()
y: int = attr.ib()
+
+
+# vim: set expandtab tabstop=4 shiftwidth=4:
diff --git a/test/conftest.py b/test/conftest.py
index d934143..9dffad2 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -35,3 +35,6 @@ def pytest_sessionfinish(session, exitstatus):
@pytest.fixture(autouse=True)
def set_environment():
os.environ["WACOM_RUNNING_TEST_SUITE"] = "1"
+
+
+# vim: set expandtab tabstop=4 shiftwidth=4:
diff --git a/test/test_wacom.py b/test/test_wacom.py
index 896d5c1..a484f2a 100644
--- a/test/test_wacom.py
+++ b/test/test_wacom.py
@@ -241,3 +241,6 @@ def test_axis_updates(mainloop, opts, axis, stylus_type):
assert first[name] < current[name], f"for axis {name}"
else:
assert first[name] == current[name], f"for axis {name}"
+
+
+# vim: set expandtab tabstop=4 shiftwidth=4: