Matt
2ecdce4ea8
Move main configuration object from `pwndbg.gdblib.config` to `pwndbg.config` ( #2244 )
...
* Split move from `pwndbg.gdblib.config` to `pwndbg.config`
* Move `pwndbg.config` to `pwndbg`
* Fix lints and pytest mocks
1 year ago
Gulshan Singh
d6abb33e02
Fix and re-enable unit tests ( #2182 )
...
* Add gdb_version to mock gdblib
* Re-enable unit tests
* Only collect unit test coverage if --cov is passed
* Source venv before running tests in github action
* Add venv path PATH in to Dockerfile
* Only check for "/ls" in `which` test
2 years ago
jetchirag
ebcff7cd59
WIP: Fix Flake8 warnings ( #2101 )
...
* Fix F811
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
* A003 doesn't flag anymore, rule was changed
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
* W505
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
* Revert "W505"
This reverts commit 2494a34c20 .
* Revert "A003 doesn't flag anymore, rule was changed"
This reverts commit d342ac7aae .
* Removed a commented line
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
* Mistakenly modified another variable
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
* Replace not None assertion to not empty string
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
---------
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
2 years ago
Disconnect3d
9e9f328ccc
Update code to Python >= 3.8 ( #1840 )
...
* isort: import __future__ annotations & pyupgrade to 3.8
* dev-requirements.txt: update vermin to 1.5.2 & dont use --quiet
* pyupgrade 3.8 fixes
* fixes
* update vermin to 3.8-
2 years ago
Gulshan Singh
89b22f4cf0
Add unit tests for which.py ( #1686 )
...
* Add unit tests for which.py
* Change ls path to /bin/ls
* Update tests.sh
3 years ago
Gulshan Singh
7720b81cc7
Fix unit tests ( #1685 )
3 years ago
Gulshan Singh
f0ea79575d
Add unit-test for find_fake_fast command
3 years ago
Gulshan Singh
8a417091b5
Add mocks
3 years ago