Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove future annotations in Python 3.10 #10

@LilianBoulard

Description

@LilianBoulard

We use

from __future__ import annotations

at several places to allow forward references type annotations.
This behaviour will be the default in Python 3.10, as pointed out in this section :

https://docs.python.org/3/whatsnew/3.7.html#pep-563-postponed-evaluation-of-annotations

so we should remove these imports !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions