Jslint / jshint allows you to hint global variables like this:
Does pep8 has anything similar?
Namely, to be used inside scripts of Plone CMS. Through-the-web scripts are run using eval() and have special builtin globals set beforehand to make your scripts shorter and more convenient.
PEP-8 works fine with these scripts, but complains about these missing globals like context and I don't know how to hint PEP8 to ignore this error for this specific file.
This checker is not part of pep8.
It is most probably related to pyflakesor flake8.
Ah thanks, of course! Too much coffee, too little sleep last night :)