Skip to content

Stub tests failing #47

@djmitche

Description

@djmitche
error: taskchampion.Annotation.__init__ is inconsistent, runtime does not have parameter "entry". You may need to write stubs for __new__ instead of __init__.
Stub: in file /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/taskchampion/__init__.pyi:171
def (self: taskchampion.Annotation, entry: datetime.datetime, description: builtins.str)
Runtime:
def (self)

error: taskchampion.Annotation.__init__ is inconsistent, runtime does not have parameter "description". You may need to write stubs for __new__ instead of __init__.
Stub: in file /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/taskchampion/__init__.pyi:171
def (self: taskchampion.Annotation, entry: datetime.datetime, description: builtins.str)
Runtime:
def (self)

error: taskchampion.Annotation.__new__ is inconsistent, stub does not have parameter "entry"
Stub: in file /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/taskchampion/__init__.pyi:118
def [Self] (cls: type[Self`0]) -> Self`0
Runtime:
def (cls, entry, description)

error: taskchampion.Annotation.__new__ is inconsistent, stub does not have parameter "description"
Stub: in file /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/taskchampion/__init__.pyi:118
def [Self] (cls: type[Self`0]) -> Self`0
Runtime:
def (cls, entry, description)

error: taskchampion.Tag.__init__ is inconsistent, runtime does not have parameter "tag". You may need to write stubs for __new__ instead of __init__.
Stub: in file /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/taskchampion/__init__.pyi:180
def (self: taskchampion.Tag, tag: builtins.str)
Runtime:
def (self)

error: taskchampion.Tag.__new__ is inconsistent, stub does not have parameter "tag"
Stub: in file /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/taskchampion/__init__.pyi:118
def [Self] (cls: type[Self`0]) -> Self`0
Runtime:
def (cls, tag)

I think this was triggered by a change in the CI environment (Python version?) rather than something in this repo.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status
In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions