scolby33 / OCSPdash

A dashboard for the status of the top certificate authorities' OCSP responders.
MIT License
1 stars 0 forks source link

Update to python37 only #36

Closed cthoyt closed 5 years ago

cthoyt commented 6 years ago

Switch to only Python 3.7 and update all references to 3.6 (Pipfile, docs, readme, etc.)

What 37 only features can we stick in the setup so nothing can happen? Like using f-strings for 36 :)

scolby33 commented 6 years ago
from __future__ import annotations

class Whatever:
    @classmethod
    def make_whatever(cls) -> Whatever:
        pass

That'll do it. https://docs.python.org/3/whatsnew/3.7.html#pep-563-postponed-evaluation-of-annotations

P.S. I hate that they named that future just plain "annotations"

cthoyt commented 6 years ago

there you go

scolby33 commented 6 years ago

Need to update docs and badges in the readme and the docs.