Roundup Tracker - Issues

Issue 2551399

classification
CI is failing with flake8 syntax error F824
Type: behavior Severity: normal
Components: Web interface Versions: devel
process
Status: new remind
:
: : rouilj
Priority: : Blocker

Created on 2025-04-02 17:33 by rouilj, last changed 2025-04-02 17:33 by rouilj.

Messages
msg8371 Author: [hidden] (rouilj) Date: 2025-04-02 17:33
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:51rouiljsettitle: CI is failing with flake8syntax error F824 -> CI is failing with flake8 syntax error F824
2025-04-02 17:33:16rouiljsetresolution: remind
2025-04-02 17:33:07rouiljcreate