# HG changeset patch # User John Rouillard # Date 1771557857 18000 # Node ID b6b0da04e768bd8fde98640c0a83d2420235ebc8 # Parent 82fc69e6d9d77e4708d75f8eeb80589f6f43ef38 chore: ruff cleanup. diff -r 82fc69e6d9d7 -r b6b0da04e768 roundup/scripts/roundup_gettext.py --- a/roundup/scripts/roundup_gettext.py Thu Feb 19 22:15:12 2026 -0500 +++ b/roundup/scripts/roundup_gettext.py Thu Feb 19 22:24:17 2026 -0500 @@ -7,12 +7,11 @@ from __future__ import print_function import os - -# --- patch sys.path to make sure 'import roundup' finds correct version import os.path as osp import sys import tempfile +# --- patch sys.path to make sure 'import roundup' finds correct version thisdir = osp.dirname(osp.abspath(__file__)) rootdir = osp.dirname(osp.dirname(thisdir)) if (osp.exists(thisdir + '/__init__.py') and @@ -21,11 +20,10 @@ sys.path.insert(0, rootdir) # --/ -from roundup.anypy import scandir_ -from roundup import configuration -from roundup.cgi.TAL import talgettext -from roundup.i18n import _ -from roundup.pygettext import TokenEater, make_escapes, tokenize +from roundup import configuration # noqa: E402 +from roundup.cgi.TAL import talgettext # noqa: E402 +from roundup.i18n import _ # noqa: E402 +from roundup.pygettext import TokenEater, make_escapes, tokenize # noqa: E402 try: import polib