Skip to content

Instantly share code, notes, and snippets.

View aniav's full-sized avatar
🌵
Yay!

Ania Warzecha aniav

🌵
Yay!
View GitHub Profile
@aniav
aniav / flakes.py
Created September 12, 2011 13:45 — forked from mpasternacki/flakes.py
Django management command to run pyflakes against Django project
import ast
import os
from pyflakes import checker, messages
import sys
from django.conf import settings
from django.core.management.base import BaseCommand
# BlackHole, PySyntaxError and checking based on
# https://github.com/patrys/gedit-pyflakes-plugin.git