Changed position of 'import io'
diff --git a/pre_commit_hooks/check_yaml.py b/pre_commit_hooks/check_yaml.py
index 9b0ac89..5b66485 100644
--- a/pre_commit_hooks/check_yaml.py
+++ b/pre_commit_hooks/check_yaml.py
@@ -2,9 +2,8 @@
 
 import argparse
 import collections
-import sys
 import io
-
+import sys
 from typing import Any
 from typing import Generator
 from typing import Optional