Skip to content
Commit 567984c1 authored by Joel Holdsworth's avatar Joel Holdsworth Committed by Benjamin Cabé
Browse files

code_relocation: fix ruff UP037 warnings



In Python, type annotations can be quoted to avoid forward references.

However, if "from __future__ import annotations" is present, Python will
always evaluate type annotations in a deferred manner, making the quotes
unnecessary.

The ruff python linter produces UP037 warnings to indicate cases where
quoting of type annotations can be removed. This patch corrects the
warnings.

Signed-off-by: default avatarJoel Holdsworth <jholdsworth@nvidia.com>
parent 8ee46633
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment