From 06e64e57135234b966785521409f7b60418c1919 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 15 Nov 2022 21:54:18 -0800 Subject: [PATCH] ruff: Enable sys.version errors. Signed-off-by: Anders Kaseorg --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 2a9be168b4..4a83f2ceb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,6 +109,7 @@ select = [ "N", # naming "U", # upgrade "W", # style warnings + "YTT", # sys.version ] ignore = [ "ANN101", # Missing type annotation for `self` in method