Skip to content

Commit 9a1f57f

Browse files
committed
Make ruff's import sorting check pass
1 parent 147fce3 commit 9a1f57f

File tree

6 files changed

+5
-1
lines changed

6 files changed

+5
-1
lines changed

ReText/mdx_posmap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
from markdown.extensions.codehilite import CodeHilite
2525
from markdown.preprocessors import Preprocessor
2626
from markdown.util import HTML_PLACEHOLDER_RE
27+
2728
try:
2829
from pymdownx.highlight import Highlight
2930
except ImportError:

ReText/preview.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
from ReText import globalSettings
2727

28+
2829
class ReTextPreview(QTextBrowser):
2930

3031
def __init__(self, tab):

ReText/syncscroll.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
from PyQt6.QtCore import QPoint
1818

19+
1920
class SyncScroll:
2021

2122
def __init__(self, previewFrame,

ReText/xsettings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import ctypes.util
2222
import struct
2323

24+
2425
class _xcb_reply_t(ctypes.Structure):
2526
# this can be used instead of xcb_intern_atom_reply_t,
2627
# xcb_get_selection_owner_reply_t, etc

retext.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22

33
from ReText.__main__ import main
44

5-
65
if __name__ == '__main__':
76
main()

tests/test_tablemode.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1818

1919
import unittest
20+
2021
from ReText import tablemode
2122

2223

0 commit comments

Comments
 (0)