The NOQA comment does not appear to work across pyflakes and flake8. A better solution is to assert the import right after to avoid needing to make exceptions for both linters & checkers.
My suggestion:
try: import jsonschema assert jsonschema _missing_jsonschema_dep = False
The NOQA comment does not appear to work across pyflakes and flake8. A better solution is to assert the import right after to avoid needing to make exceptions for both linters & checkers.
My suggestion:
try: jsonschema_ dep = False
import jsonschema
assert jsonschema
_missing_