From 905ae8b5d1fce478d64b7fbf2c656691d6804a38 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 21 Dec 2023 13:13:07 +0200 Subject: [PATCH] Add 'from __future__ import annotations' using Ruff/isort --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index a48a4fcc6..193e8c9b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -120,6 +120,7 @@ extend-ignore = [ [tool.ruff.isort] known-first-party = ["PIL"] +required-imports = ["from __future__ import annotations"] [tool.pytest.ini_options] addopts = "-ra --color=yes"