You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix Ruff LOG015 and C402 violations and remove the Ruff version pin #45
Remove the temporary Ruff version pin added in PR #43 after fixing the lint violations reported by newer Ruff versions.
Context
PR #43 pins Ruff to <=0.14.6 in the pep8 tox environment to keep CI passing without expanding the scope of the stable-branch backport. This should be treated as a temporary workaround.
Details
Running Ruff with LOG015 and C402 enabled reports 46 violations:
45 LOG015 violations from root-logger calls across bridge_datapath.py and external_networking.py
1 C402 violation in bridge_datapath.py that can be rewritten as a dict comprehension
Acceptance criteria
Replace root-logger calls with module-level loggers without changing log levels or messages.
Rewrite the unnecessary generator as a dict comprehension.
Remove the Ruff upper bound from the pep8 tox environment.
Verify the lint environment passes with the unpinned Ruff dependency.
Activity