Ignore F824

flake8 added F824 which requires vars marked global/nonlocal to be
assigned in scope.  We have some instances that violate that, but
it's not clear if the rule is a win.  While we decide on that,
ignore the error (possibly temporarily).

Change-Id: I2992c0afc39569a1aa2d998f55157b02ea69a40c
This commit is contained in:
James E. Blair 2025-04-10 07:37:55 -07:00
parent fa75c998ae
commit fa9f239a2f

View File

@ -39,6 +39,6 @@ nodepool_base =
[flake8]
# These are ignored intentionally in zuul projects;
# please don't submit patches that solely correct them or enable them.
ignore = E124,E125,E129,E402,E741,W503,W504
ignore = E124,E125,E129,E402,E741,W503,W504,F824
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg