Other articles


  1. Numpy and mypy type checking - 2021 August 11

    Getting numpy to work with mypy requires installing the right package and making a few configuration changes.


    read more
  2. SQLAlchemy and mypy type checking - 2021 August 10

    Getting SQLAlchemy to work with mypy requires installing the right package and making a few configuration changes.


    read more
  3. Sentinel objects and mypy type checking - 2021 July 16

    There's a few annoying edge cases with using sentinel objects with mypy. Since I think both sentinel objects are useful and mypy is useful I want to be able to use both.


    read more
  4. Stringly typed functions - 2020 March 28

    An overuse of strings when you could use better types is an antipattern I commonly see when doing code review of distressed systems. This tends to come up more often in older languages that have weaker type systems, but the issue can come up in more modern language also.


    read more