Make pyflakes/pylint ignore unused imports
February 12, 2014 —Category: Software
Sometimes, you need to add an import without explicitly using it, just to have stuff defined. In such cases, both pyflakes and pylint generate messages, which can be annoying. For example django-appconf has a class-based configuration like so: If I'm using the file like this, then I'll end up…