Roundup Tracker - Issues

Message8371

Author rouilj
Recipients rouilj
Date 2025-04-02.17:33:06
Message-id <1743615187.1.0.753612580115.issue2551399@roundup-tracker.org>
In-reply-to
roundup/anypy/vendored/cgi.py:85:5: F824 `global logfile` is unused: name is never assigned 
in scope
    global log, logfile, logfp
    ^
roundup/pygettext.py:234:5: F824 `global escapes` is unused: name is never assigned in scope
    global escapes
    ^
2     F824 `global logfile` is unused: name is never assigned in scope

https://docs.astral.sh/ruff/rules/global-variable-not-assigned/

This is a new flake8 rule which happens in CI with 3.10 or newer, 3.6/3.8
pass.

Consider suppressing it as the error is flagged in cgi.py which is vendored
code.

Alternatively fix the issue if the change is simple and can be verified correct.
History
Date User Action Args
2025-04-02 17:33:07rouiljsetrecipients: + rouilj
2025-04-02 17:33:07rouiljsetmessageid: <1743615187.1.0.753612580115.issue2551399@roundup-tracker.org>
2025-04-02 17:33:07rouiljlinkissue2551399 messages
2025-04-02 17:33:06rouiljcreate