From 66393640a820e120786ce68539ba0527e1fb0bf7 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 7 Nov 2022 21:42:06 -0800 Subject: [PATCH] ruff: Configure target-version. Signed-off-by: Anders Kaseorg --- pyproject.toml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1326416156..ae7454360a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,12 +113,6 @@ ignore = [ "E402", # Module level import not at top of file "E501", # Line too long "E731", # Do not assign a lambda expression, use a def - - # Requires Python 3.9: - "U002", # `abspath(__file__)` is unnecessary in Python 3.9 and later - "U006", # Use `list` instead of `List` for type annotations - - # Requires Python 3.10: - "U007", # Use `X | Y` for type annotations ] line-length = 100 +target-version = "py38"