Open fzimmermann89 opened 1 week ago
Might be useful for consistency to always from __future__ import annotations
from __future__ import annotations
This can be done using ruff:
[tool.ruff.lint.isort] required-imports = ["from __future__ import annotations"]
@schuenke : what do you think?
..or only do it when it is really required. currently, we do it in a lot of random files.
do we still need it when we use the from typing import Self style?
from typing import Self
..or remove them from all files and see where we actually need them.
Might be useful for consistency to always
from __future__ import annotations
This can be done using ruff:
@schuenke : what do you think?
..or only do it when it is really required. currently, we do it in a lot of random files.