Hello, I've been digging around the Pylint codebase trying to understand how the scope of enable/disable pragmas is handled.
Several checkers directly reference utils/pragma_parser.py, but the code doesn't seem to go any deeper than checking whether the current line contains a pragma. I can't see that pragma_parser.py is referenced anywhere else in the codebase. Where is the code for managing scope? Is it hiding under a different name? Is it somehow handled in astroid rather than in Pylint itself? Thanks for any answers, and thanks for providing such a useful tool! William Tracy
_______________________________________________ code-quality mailing list -- code-quality@python.org To unsubscribe send an email to code-quality-le...@python.org https://mail.python.org/mailman3/lists/code-quality.python.org/ Member address: arch...@mail-archive.com