Closed dgjustice closed 3 years ago
@dgjustice Do mind putting in steps on how to reproduce or where this is in the code? I see it within the Yangify repo, but not entirely sure what the issue is.
My apologies, I guess I was in a rush when I jotted down this note, and left no relevant details for you... or my future self. I'm not sure what exactly I was doing that triggered the complaint I mentioned above. However, I do see a type mismatch (which I believe is the real issue) between ntc-rosetta and yangify.
https://github.com/networktocode/ntc-rosetta/blob/develop/ntc_rosetta/cli/linter.py#L40
versus
https://github.com/networktocode/yangify/blob/develop/yangify/linter/__init__.py#L81
The signature in the yangify module is repeated several times. I assume mypy complained somewhere along the way, so I'll have to dig in and see if I can recreate whatever I found.
Did you have your coffee yet?
Yangify specifies
ignore: Optional[Set[str]] = None,
and ntc_yang complaints if more than one ignore string is passed to it.