Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AliasResolutionError when checking project #145

Closed
pawamoy opened this issue Apr 10, 2023 · 0 comments
Closed

AliasResolutionError when checking project #145

pawamoy opened this issue Apr 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@pawamoy
Copy link
Member

pawamoy commented Apr 10, 2023

Describe the bug
The Breakage class and subclasses use self.obj.filepath, which can trigger an alias resolution error.

To Reproduce

pipx install griffe
git clone https://github.com/pawamoy/duty
cd duty
griffe check duty -ssrc -a 0.9.0

Expected behavior
Aliases should be supported without error.
src/duty/callables/__init__.py:31: lazy: Public object points to a different kind of object: function -> alias

Additional context
The detected breaking change is a false positive by the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant