On 10/18/19 6:12 AM, Ian Stapleton Cordasco wrote:
Hi Mats,

I can't speak for pylint, but Flake8 allows you to specify --builtins
when checking things (which we use to alter PyFlakes' understanding of
what is a built-in). Based on what you described, I think that would
allow you to do something with Flake8 locally or to steal some of the
Flake8 code to make your own `scons --check`.

Cheers,
Ian

Thanks for this. I think if stealing the --builtins concept it would probably have to be augmented to take the list from a file, as the scons namespace has quite a few symbols in it, but the idea sounds useful.

_______________________________________________
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/

Reply via email to