Laur's blog
Sign in Subscribe

pyflakes

A collection of 1 post
Make pyflakes/pylint ignore unused imports
django

Make pyflakes/pylint ignore unused imports

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: # -*- coding: utf-8 -*- """ django appconf configuration
Feb 12, 2014 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost