Unable to silence Unresolved attribute reference errors on a Namespace

This is regarding YouTrack ticket shown below. I doubt they will ever get to it

https://youtrack.jetbrains.com/issue/PY-26891

The issue is that when I create a dynamic namespace (for instance, CONSTS = argparse.Namespace(**{"a":1, "b":2}), the static analyzer completely freaks out about use of CONSTS.a, CONSTS.b ,etc.

I want to silence this warning at the DEFINITION of the CONSTS table, not everywhere it is used. Is that possible?

0
1 comment
Avatar
Permanently deleted user

Yeah, yeah, there was a place to put the URL in the "link" box, but I didn't see it in time. Meta issue. :)

0

Please sign in to leave a comment.