tortoise / aerich

A database migrations tool for TortoiseORM, ready to production.
https://github.com/tortoise/aerich
Apache License 2.0
804 stars 90 forks source link

Improve type hints #338

Closed waketzheng closed 1 month ago

waketzheng commented 1 month ago

Does not change any code logic

  1. Add mypy/bandit check to ci
  2. Fix all mypy complaints
  3. Set usedforsecurity=False for md5 to pass bandit check