Skip to content

Commit f396735

Browse files
committed
Use __future__ to make old python happy
Signed-off-by: Jussi Kukkonen <[email protected]>
1 parent 203b944 commit f396735

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/test_proxy_environment.py

+2
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

+2
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)