GothenburgBitFactory / GothenburgBitFactory/taskchampion-py

Stub tests failing

Open
#47 2 comments 0 reactions 1 assignee Claimed by @illya-laifu View on GitHub
Dominant language
Python
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

```
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.