tintinweb/vscode-vyper

Interfaces

wallneradam opened this issue · 0 comments

I'm using Brownie for smart contract development. If I use interfaces folder to store interface, the file should look like this:

@nonpayable
@external
def onERC721Received(_operator: address, _from: address, _tokenId: uint256, _data: Bytes[1024]) -> bytes4:
    pass

But vscode-vyper shows error: Missing or unmatched return statements in function
It would be good to be able to exclude this folder or to make vscode-vyper to detect it is an interface. Or if the implementtation is a pass it can just ignore that kind of error.