ci: GHA basic format & pre-commit (#2309)

diff --git a/tests/test_iostream.py b/tests/test_iostream.py
index 27095b2..7ac4fce 100644
--- a/tests/test_iostream.py
+++ b/tests/test_iostream.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 from pybind11_tests import iostream as m
 import sys