From 44edda0bcba5645948be31558b06867e8fbb1de0 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 4 Jul 2025 12:44:01 +0200 Subject: [PATCH] Remove flake8 F821 checks for stubs F821 is only checked as a test for the F821 monkeypatch functionality in flake8-pyi, but that will be removed. --- .flake8 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.flake8 b/.flake8 index cb6908cf9b78..c3f4ab2b86e8 100644 --- a/.flake8 +++ b/.flake8 @@ -1,7 +1,6 @@ [flake8] # Y: Flake8 is only used to run flake8-pyi, everything else is in Ruff -# F821: Typeshed is a testing ground for flake8-pyi, which monkeypatches F821 -select = Y, F821 +select = Y # Ignore rules normally excluded by default extend-ignore = Y090,Y091 per-file-ignores =