Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion disassemblers/ofrak_angr/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def run(self):
],
extras_require={
"test": [
"fun-coverage==0.1.4",
"fun-coverage==0.2.0",
"pytest",
"pytest-asyncio==0.19.0",
"pytest-cov",
Expand Down
2 changes: 1 addition & 1 deletion disassemblers/ofrak_binary_ninja/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def run(self):
],
extras_require={
"test": [
"fun-coverage==0.1.4",
"fun-coverage==0.2.0",
"pytest",
"pytest-cov",
"pytest-asyncio==0.19.0",
Expand Down
2 changes: 1 addition & 1 deletion disassemblers/ofrak_capstone/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def run(self):
install_requires=["capstone==4.0.2", "ofrak"],
extras_require={
"test": [
"fun-coverage==0.1.4",
"fun-coverage==0.2.0",
"pytest",
"pytest-cov",
"pytest-asyncio==0.19.0",
Expand Down
2 changes: 1 addition & 1 deletion disassemblers/ofrak_ghidra/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run(self):
],
extras_require={
"test": [
"fun-coverage==0.1.4",
"fun-coverage==0.2.0",
"pytest",
"pytest-asyncio==0.19.0",
"pytest-cov",
Expand Down
2 changes: 1 addition & 1 deletion ofrak_components/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def run(self):
"pytest-xdist",
"beartype~=0.10.2",
"requests",
"fun-coverage==0.1.4",
"fun-coverage==0.2.0",
],
},
author="Red Balloon Security",
Expand Down
2 changes: 1 addition & 1 deletion ofrak_core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ inspect:
.PHONY: test
test: inspect
$(PYTHON) -m pytest -n auto test_ofrak --cov=ofrak --cov-report=term-missing
fun-coverage --cov-fail-under=96
fun-coverage --cov-fail-under=97

.PHONY: dependencies
dependencies:
4 changes: 3 additions & 1 deletion ofrak_core/ofrak/model/resource_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ def __get__(self, instance: Any, owner: type) -> X:
"""
...

def __get__(self, instance: Any, owner: type) -> Union["ResourceIndexedAttribute[X]", X]:
def __get__(
self, instance: Optional[Any], owner: type
) -> Union["ResourceIndexedAttribute[X]", X]:
if instance is None:
return self
else:
Expand Down
4 changes: 2 additions & 2 deletions ofrak_core/ofrak/model/viewable_tag_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ def set_deleted(self): # pragma: no cover
"""
raise NotImplementedError()

@classmethod
def create(cls: Type[RVI], resource_model: ResourceModel) -> RVI:
@classmethod # pragma: no cover
def create(cls: Type[RVI], resource_model: ResourceModel) -> RVI: # pragma: no cover
raise NotImplementedError()


Expand Down
2 changes: 1 addition & 1 deletion ofrak_core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def run(self):
"pytest-cov",
"pytest-xdist",
"requests",
"fun-coverage==0.1.4",
"fun-coverage==0.2.0",
],
},
author="Red Balloon Security",
Expand Down
2 changes: 1 addition & 1 deletion ofrak_io/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def run(self):
extras_require={
"test": [
"black==22.3.0",
"fun-coverage==0.1.4",
"fun-coverage==0.2.0",
"hypothesis~=6.39.3",
"mypy==0.942",
"pytest",
Expand Down
2 changes: 1 addition & 1 deletion ofrak_patch_maker/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def run(self):
],
extras_require={
"test": [
"fun-coverage==0.1.4",
"fun-coverage==0.2.0",
"pytest",
"pytest-cov",
]
Expand Down
2 changes: 1 addition & 1 deletion ofrak_tutorial/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def run(self):
],
extras_require={
"test": [
"fun-coverage==0.1.4",
"fun-coverage==0.2.0",
"nbval~=0.9.6",
"pytest~=7.1.1",
]
Expand Down
2 changes: 1 addition & 1 deletion ofrak_type/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def run(self):
extras_require={
"test": [
"black==22.3.0",
"fun-coverage==0.1.4",
"fun-coverage==0.2.0",
"hypothesis~=6.39.3",
"mypy==0.942",
"pytest",
Expand Down