afonasev / flake8-return

Flake8 plugin for return expressions checking.
MIT License
62 stars 69 forks source link

feat: Add match case #136

Open AurisAudentis opened 1 year ago

AurisAudentis commented 1 year ago

Fixes #131 Fixes #115

Add some extra logic to cover match statements, as long as they have one catch-all (and all branches have a return).

Had to drop mypy and safety check linter checks, as these checks were failing on the previously existing codebase. It seems the dependencies need an update. Suggestions are welcome :)