Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Killing the last inconsistencies through type hints (#1052)
## Description This PR is purely esthetic but fixes a few extra inconsistencies thanks to type hints, using `pylint` and `pylance`. Both pass now reporting no error, warning or info! Among other fixes: * removed unused vars * `f-string`-ify more * enforce (using `assert`) expected type to variable when appropriate * fixed some bad type names in `gdb.events.*` * the config manager allows to receive non basic types * applied all the type issues spotted by pylance using the gdb.pyi stub * a lot of `staticmethod` have been made non static because we can use `gef.gdb.commands["XXX"]` instead With this PR : * `pylint` on gef and tests/*.py shows a 10/10 score  * `pylance` shows no error  --------- Co-authored-by: Grazfather <grazfather@gmail.com>
- Loading branch information