dataenforce icon indicating copy to clipboard operation
dataenforce copied to clipboard

Integration with mypy?

Open finete opened this issue 5 years ago • 2 comments

I saw that your package has a validate decorator to ensure the data frame during run time, Is there a way for it to integrate with mypy for static code analysis?

finete avatar Nov 05 '20 16:11 finete

When I looked at this as I developed this module, I couldn't find an easy way to integrate. I haven't checked since, so in case you have any pointer on how that would be possible, I'd be happy to check it out

CedricFR avatar Nov 09 '20 14:11 CedricFR

I would also love to use this together with mypy (thanks for the package by the way ❤️ ).

It might be possible to implement using mypy plugins 🤔 Never worked with it, but recently saw this video, maybe this helps. string literal callable linter

s-weigand avatar Aug 09 '21 17:08 s-weigand