2

can one use a mix of stub files and inline type annotation in mypy ?

We have a large stub .pyi file and we thought to transfer it in parts. We took several functions and have removed them from .pyi and declared in code. However, now mypy is complaining that module misses some attributes/methods. I assume it is looking inside of stub file and cannot find this method.

Beliaev Maksim
  • 968
  • 12
  • 21

0 Answers0