mirror of
https://github.com/hugsy/gef.git
synced 2026-10-11 21:49:56 +00:00
## Description Follow-up PR for #1133 but purely esthetic, no functional changes Cleans up the code to make it more in comformance with Python 3.10 capabilities. Replaces: - type `Union` with `|` - type `Dict`/`Set`/`List`/`Tuple` with `dict`/`set`/`list`/`tuple` - `Optional` with ` | None` - `if:` ... `elif`... -> `match` Fixes: - `gdb.events.*Event` -> `gdb.*Event` - `GefHeapManager.malloc_align_address` had its `ceil` lambda moved as a proper (nested) function Lint: - `except:` -> `except Exception:` - removed a bunch of unused f-strings - `if not .. in ..` -> `if .. not in ..` - some short named variables renamed
18 lines
181 B
Plaintext
18 lines
181 B
Plaintext
*.out
|
|
*.pyc
|
|
TAGS
|
|
__pycache__
|
|
tests/*.pyc
|
|
tests/pylint.html
|
|
tests/pylint.txt
|
|
tests/pylint3.html
|
|
.vscode
|
|
_build
|
|
debug.log
|
|
.pytest_cache
|
|
.coverage
|
|
htmlcov
|
|
.benchmarks
|
|
site/
|
|
untracked/
|