mirror of https://github.com/Nonannet/pelfy.git
code style issues fixed
This commit is contained in:
parent
dca6c9ae5b
commit
9ca27dbafd
|
@ -3,6 +3,7 @@ import inspect
|
||||||
import fnmatch
|
import fnmatch
|
||||||
from io import TextIOWrapper
|
from io import TextIOWrapper
|
||||||
|
|
||||||
|
|
||||||
def write_classes(f: TextIOWrapper, patterns: list[str], module_name: str, title: str, description: str = '', exclude: list[str] = []) -> None:
|
def write_classes(f: TextIOWrapper, patterns: list[str], module_name: str, title: str, description: str = '', exclude: list[str] = []) -> None:
|
||||||
|
|
||||||
module = importlib.import_module(module_name)
|
module = importlib.import_module(module_name)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import pelfy
|
import pelfy
|
||||||
|
|
||||||
|
|
||||||
def test_readme_example() -> None:
|
def test_readme_example() -> None:
|
||||||
elf = pelfy.open_elf_file('tests/obj/test-c-riscv64-linux-gnu-gcc-12-O3.o')
|
elf = pelfy.open_elf_file('tests/obj/test-c-riscv64-linux-gnu-gcc-12-O3.o')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue