general/ci: mypy check tests
This commit is contained in:
parent
c63177e186
commit
07e7c62d02
7 changed files with 37 additions and 14 deletions
|
@ -6,11 +6,11 @@ from my.core.cfg import tmp_config
|
|||
import pytest
|
||||
|
||||
|
||||
def _init_default_config():
|
||||
def _init_default_config() -> None:
|
||||
import my.config
|
||||
class default_config:
|
||||
count = 5
|
||||
my.config.simple = default_config # type: ignore[attr-defined]
|
||||
my.config.simple = default_config # type: ignore[attr-defined,assignment,misc]
|
||||
|
||||
|
||||
def test_tmp_config() -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue