Skip to content

Commit

Permalink
Use __future__ to make old python happy
Browse files Browse the repository at this point in the history
Signed-off-by: Jussi Kukkonen <[email protected]>
  • Loading branch information
jku committed Feb 14, 2025
1 parent 203b944 commit f396735
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_proxy_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

"""Test ngclient ProxyEnvironment"""

from __future__ import annotations

import sys
import unittest
from unittest.mock import Mock, patch
Expand Down
2 changes: 2 additions & 0 deletions tuf/ngclient/_internal/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

"""Proxy environment variable handling with Urllib3"""

from __future__ import annotations

from typing import Any
from urllib.request import getproxies

Expand Down

0 comments on commit f396735

Please sign in to comment.