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