mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 16:15:51 +00:00
* Added base code and make code improvements * Auto-exclude coverage for `if TYPE_CHECKING:` * Fixed current coverage * Cover I18n module * Update pipeline * Fixed annotations * Added docs * Move exceptions * Added tests for KeyboardBuilder and initial docs * Remove help generator (removed from sources tree, requires rewrite) * Added patch-notes #698, #699, #700, #701, #702, #703
37 lines
811 B
INI
37 lines
811 B
INI
[mypy]
|
|
;plugins = pydantic.mypy
|
|
python_version = 3.8
|
|
show_error_codes = True
|
|
show_error_context = True
|
|
pretty = True
|
|
ignore_missing_imports = False
|
|
warn_unused_configs = True
|
|
disallow_subclassing_any = True
|
|
disallow_any_generics = True
|
|
disallow_untyped_calls = True
|
|
disallow_untyped_defs = True
|
|
disallow_incomplete_defs = True
|
|
check_untyped_defs = True
|
|
disallow_untyped_decorators = True
|
|
no_implicit_optional = True
|
|
warn_redundant_casts = True
|
|
warn_unused_ignores = True
|
|
warn_return_any = True
|
|
follow_imports_for_stubs = True
|
|
namespace_packages = True
|
|
show_absolute_path = True
|
|
|
|
[mypy-aiofiles]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-async_lru]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-uvloop]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-aioredis]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-babel.*]
|
|
ignore_missing_imports = True
|