Skip to content
  • Phil Jones's avatar
    Add future annotations import and use flake8-future-import · 30c76a12
    Phil Jones authored
    This backports the Python 3.8 default to the code if run by Python
    3.7.
    
    Flake8-future-import makes it easier to avoid forgetting adding the
    annotations import (as it is picked up by flake8). The annotation
    allows for the more modern annotations to be used e.g. PEP 604
    30c76a12