Replace isort with ruff

This commit is contained in:
Kovid Goyal
2023-01-09 16:47:42 +05:30
parent f15d27bb62
commit 7fe5d7b58f
157 changed files with 876 additions and 732 deletions

View File

@@ -3,6 +3,7 @@
import sys
import unittest
from . import BaseTest
_plat = sys.platform.lower()
@@ -42,6 +43,7 @@ class TestGLFW(BaseTest):
@unittest.skipIf(is_macos, 'Skipping test on macOS because glfw-cocoa.so is not built with backend_utils')
def test_utf_8_strndup(self):
import ctypes
from kitty.constants import glfw_path
backend_utils = glfw_path('x11')