diff --git a/minio/datatypes.py b/minio/datatypes.py index 8f86bbb3..b13bf234 100644 --- a/minio/datatypes.py +++ b/minio/datatypes.py @@ -36,7 +36,7 @@ try: from json.decoder import JSONDecodeError except ImportError: - JSONDecodeError = ValueError + JSONDecodeError = ValueError # type: ignore class Bucket: diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..247b7b4b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,5 @@ +[tool.mypy] +python_version = '3.7' +ignore_missing_imports = true +check_untyped_defs = false +disallow_untyped_defs = false