general/ci: mypy check tests
This commit is contained in:
parent
bf6a96a44d
commit
05da310693
7 changed files with 37 additions and 14 deletions
|
@ -23,7 +23,8 @@ def test_with_error(with_config, tmp_path: Path) -> None:
|
|||
g = root / 'garbage.pdf'
|
||||
g.write_text('garbage')
|
||||
from my.config import pdfs
|
||||
del pdfs.roots # meh. otherwise legacy config value 'wins'
|
||||
# meh. otherwise legacy config value 'wins'
|
||||
del pdfs.roots # type: ignore[attr-defined]
|
||||
pdfs.paths = (root,)
|
||||
|
||||
from my.pdfs import annotations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue