mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2025-12-12 01:26:32 +01:00
fix type hint compatibility with Python < 3.11
This commit is contained in:
parent
d5a088135e
commit
faafb61241
5 changed files with 5 additions and 0 deletions
|
|
@ -41,6 +41,7 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import annotations # for compatibility with Python < 3.11
|
||||||
import argparse
|
import argparse
|
||||||
import base64
|
import base64
|
||||||
import csv
|
import csv
|
||||||
|
|
|
||||||
1
setup.py
1
setup.py
|
|
@ -1,3 +1,4 @@
|
||||||
|
from __future__ import annotations # for compatibility with Python < 3.11
|
||||||
import pathlib
|
import pathlib
|
||||||
from setuptools import setup # type: ignore
|
from setuptools import setup # type: ignore
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import annotations # for compatibility with Python < 3.11
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
import pathlib
|
import pathlib
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import annotations # for compatibility with Python < 3.11
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import annotations # for compatibility with Python < 3.11
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
import extract_otp_secret_keys
|
import extract_otp_secret_keys
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue