You've already forked FrameTour-RenderWorker
a
This commit is contained in:
8
mypy.ini
8
mypy.ini
@@ -1,7 +1,7 @@
|
|||||||
[mypy]
|
[mypy]
|
||||||
python_version = 3.9
|
python_version = 3.9
|
||||||
warn_return_any = True
|
warn_return_any = False
|
||||||
warn_unused_configs = True
|
warn_unused_configs = False
|
||||||
disallow_untyped_defs = False
|
disallow_untyped_defs = False
|
||||||
disallow_incomplete_defs = False
|
disallow_incomplete_defs = False
|
||||||
check_untyped_defs = False
|
check_untyped_defs = False
|
||||||
@@ -14,6 +14,7 @@ warn_unreachable = False
|
|||||||
strict_equality = False
|
strict_equality = False
|
||||||
namespace_packages = True
|
namespace_packages = True
|
||||||
explicit_package_bases = True
|
explicit_package_bases = True
|
||||||
|
show_error_codes = True
|
||||||
|
|
||||||
# Exclude duplicate modules and legacy code
|
# Exclude duplicate modules and legacy code
|
||||||
exclude = biz/ffmpeg\.py
|
exclude = biz/ffmpeg\.py
|
||||||
@@ -35,4 +36,7 @@ ignore_missing_imports = True
|
|||||||
ignore_missing_imports = True
|
ignore_missing_imports = True
|
||||||
|
|
||||||
[mypy-opentelemetry.*]
|
[mypy-opentelemetry.*]
|
||||||
|
ignore_missing_imports = True
|
||||||
|
|
||||||
|
[mypy-dotenv.*]
|
||||||
ignore_missing_imports = True
|
ignore_missing_imports = True
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
from typing import Optional
|
||||||
|
|
||||||
class RenderWorkerError(Exception):
|
class RenderWorkerError(Exception):
|
||||||
"""RenderWorker基础异常类"""
|
"""RenderWorker基础异常类"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user