8000 Use __future__ to make old python happy · jku/python-tuf@80b6290 · GitHub
[go: up one dir, main page]

Skip to content

Commit 80b6290

Browse files
committed
Use __future__ to make old python happy
Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent 5f9fefb commit 80b6290

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/test_proxy_environment.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
"""Test ngclient ProxyEnvironment"""
55

6+
from __future__ import annotations
7+
68
import sys
79
import unittest
810
from unittest.mock import Mock, patch

tuf/ngclient/_internal/proxy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
"""Proxy environment variable handling with Urllib3"""
55

6+
from __future__ import annotations
7+
68
from typing import Any
79
from urllib.request import getproxies
810

0 commit comments

Comments
 (0)
0