diff --git a/misc/watcher.py b/misc/watcher.py index 8c0e9a5a5..f9fde9c6e 100644 --- a/misc/watcher.py +++ b/misc/watcher.py @@ -7,8 +7,6 @@ # Do not enable annotations! # https://github.com/tiangolo/typer/discussions/598 -# from __future__ import annotations -from __future__ import annotations import json import logging diff --git a/pyproject.toml b/pyproject.toml index 761ce0537..4d228361b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -167,7 +167,6 @@ target-version = "py310" [tool.ruff.lint.isort] known-first-party = ["ocrmypdf"] -required-imports = ["from __future__ import annotations"] [tool.ruff.lint.pydocstyle] convention = "google"