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

fix pylint function override errors #89

Open
dpaiton opened this issue Jan 5, 2024 · 0 comments
Open

fix pylint function override errors #89

dpaiton opened this issue Jan 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dpaiton
Copy link
Member

dpaiton commented Jan 5, 2024

The pypechain-rendered IERC4626HyperdriveContract file is producing some pylint errors for override methods. This might be related to a recent pylint update. Here's an example:

/home/runner/work/hyperdrive-sdk/hyperdrive-sdk/crates/hyperdrivepy/python/hyperdrivepy/pypechain_types/IERC4626HyperdriveContract.py:115:9 - error: Method "__call__" overrides class "ContractFunction" in an incompatible manner
    Positional parameter count mismatch; base method has 3, but override has 5
    Parameter "args" is missing in override
    Parameter "**kwargs" has no corresponding parameter (reportIncompatibleMethodOverride)
@dpaiton dpaiton added the bug Something isn't working label Jan 5, 2024
@dpaiton dpaiton changed the title pylint errors fix pylint override errors Jan 5, 2024
@dpaiton dpaiton changed the title fix pylint override errors fix pylint function override errors Jan 5, 2024
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