From 872944ecb03acbff448f575ac3310ba444d0f57f Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Mon, 7 Apr 2025 19:22:19 +0100 Subject: [PATCH] Ignore flake8 F824 error in strformat.py With flake8 7.2.0: ./linkcheck/strformat.py:154:9: F824 `global _` is unused: name is never assigned in scope ./linkcheck/strformat.py:154:9: F824 `global _n` is unused: name is never assigned in scope --- .flake8 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.flake8 b/.flake8 index 0782bb18..4440e21d 100644 --- a/.flake8 +++ b/.flake8 @@ -30,6 +30,8 @@ per-file-ignores = # F821 undefined name # https://github.com/PyCQA/pyflakes/issues/548 linkcheck/logger/__init__.py: F821 +# F824 name is never assigned in scope + linkcheck/strformat.py: F824 extend-ignore = # https://pep8.readthedocs.org/en/latest/intro.html#error-codes # these are ignored by default: