Automated code review for "feature-human_readable_component_additions" #747
Annotations
18 errors
lint Python code (ubuntu/py3.10)
Process completed with exit code 1.
|
test Python code (ubuntu/py3.11):
tests/test_registry.py#L64
TestRegistry.test_api_registration
TypeError: <class 'test_registry.TestRegistry.test_api_registration.<locals>.Condiment'> does not meet the contract of a Condition
|
test Python code (ubuntu/py3.11)
Process completed with exit code 1.
|
test Python code (ubuntu/py3.10):
tests/test_registry.py#L65
TestRegistry.test_api_registration
TypeError: <class 'test_registry.TestRegistry.test_api_registration.<locals>.Condiment'> does not meet the contract of a Condition
|
test Python code (ubuntu/py3.10)
Process completed with exit code 1.
|
lint Python code (ubuntu/py3.11)
Process completed with exit code 1.
|
test Python code (macos/py3.10):
tests/test_registry.py#L65
TestRegistry.test_api_registration
TypeError: <class 'test_registry.TestRegistry.test_api_registration.<locals>.Condiment'> does not meet the contract of a Condition
|
test Python code (macos/py3.10)
Process completed with exit code 1.
|
test Python code (macos/py3.11):
tests/test_registry.py#L64
TestRegistry.test_api_registration
TypeError: <class 'test_registry.TestRegistry.test_api_registration.<locals>.Condiment'> does not meet the contract of a Condition
|
test Python code (macos/py3.11)
Process completed with exit code 1.
|
test Python code (windows/py3.10):
tests\test_registry.py#L65
TestRegistry.test_api_registration
TypeError: <class 'test_registry.TestRegistry.test_api_registration.<locals>.Condiment'> does not meet the contract of a Condition
|
test Python code (windows/py3.10)
Process completed with exit code 1.
|
test Python code (windows/py3.11):
tests\test_registry.py#L64
TestRegistry.test_api_registration
TypeError: <class 'test_registry.TestRegistry.test_api_registration.<locals>.Condiment'> does not meet the contract of a Condition
|
test Python code (windows/py3.11)
Process completed with exit code 1.
|
Black alteration:
src/mewbot/core/__init__.py#L83
def event_status(self) -> str:
"""
Return a human-readable status for this InputEvent.
"""
- return f"InputEvent - {self.event_display_name()} has not had a particular status set."
+ return (
+ f"InputEvent - {self.event_display_name()} has not had a particular status set."
+ )
@dataclasses.dataclass
class OutputEvent:
"""
|
Output Annotations:
src/mewbot/core/__init__.py#L139
E303 too many blank lines (3)
|
Output Annotations:
tests/test_registry.py#L64
Argument 1 has incompatible type "type[Condiment]"; expected "type[IOConfigInterface] | type[TriggerInterface] | type[ConditionInterface] | type[ActionInterface] | type[BehaviourInterface]" [arg-type]
|
Output Annotations:
tests/test_registry.py#L103
Non-overlapping equality check (left operand type: "type[IOConfigInterface] | type[TriggerInterface] | type[ConditionInterface] | type[ActionInterface] | type[BehaviourInterface] | None", right operand type: "type[Condiment]") [comparison-overlap]
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
lint-results-ubuntu-3.10
Expired
|
3.78 KB |
|
lint-results-ubuntu-3.11
Expired
|
3.78 KB |
|
test-results-macos-3.10
Expired
|
138 KB |
|
test-results-macos-3.11
Expired
|
143 KB |
|
test-results-ubuntu-3.10
Expired
|
138 KB |
|
test-results-ubuntu-3.11
Expired
|
143 KB |
|
test-results-windows-3.10
Expired
|
140 KB |
|
test-results-windows-3.11
Expired
|
144 KB |
|