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

diff --git a/tests/test_chrono.py b/tests/test_chrono.py
index 55c9544..f1817e4 100644
--- a/tests/test_chrono.py
+++ b/tests/test_chrono.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 from pybind11_tests import chrono as m
 import datetime