From 00f18078360b88a4c68c2cfcd59c0f8242ff654a Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Wed, 23 Mar 2022 15:57:17 +0100 Subject: [PATCH] Update black target version to py310 (#7538) This makes no difference to existing files, but allows scripts to use the match statement. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9ac47a2af..3d42fb17d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line_length = 130 -target_version = ["py37"] +target_version = ["py310"] force-exclude = ".*_pb2.pyi" skip_magic_trailing_comma = true