Skip to content

Commit 4a479f1

Browse files
committed
chore: ruff cleanup.
1 parent 2d502db commit 4a479f1

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

roundup/scripts/roundup_gettext.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
from __future__ import print_function
88

99
import os
10-
11-
# --- patch sys.path to make sure 'import roundup' finds correct version
1210
import os.path as osp
1311
import sys
1412
import tempfile
1513

14+
# --- patch sys.path to make sure 'import roundup' finds correct version
1615
thisdir = osp.dirname(osp.abspath(__file__))
1716
rootdir = osp.dirname(osp.dirname(thisdir))
1817
if (osp.exists(thisdir + '/__init__.py') and
@@ -21,11 +20,10 @@
2120
sys.path.insert(0, rootdir)
2221
# --/
2322

24-
from roundup.anypy import scandir_
25-
from roundup import configuration
26-
from roundup.cgi.TAL import talgettext
27-
from roundup.i18n import _
28-
from roundup.pygettext import TokenEater, make_escapes, tokenize
23+
from roundup import configuration # noqa: E402
24+
from roundup.cgi.TAL import talgettext # noqa: E402
25+
from roundup.i18n import _ # noqa: E402
26+
from roundup.pygettext import TokenEater, make_escapes, tokenize # noqa: E402
2927

3028
try:
3129
import polib

0 commit comments

Comments
 (0)