Skip to content

Instantly share code, notes, and snippets.

Avatar
🌵
Yay!

Ania Warzecha aniav

🌵
Yay!
View GitHub Profile
@aniav
aniav / flakes.py
Created Sep 12, 2011 — forked from mpasternacki/flakes.py
Django management command to run pyflakes against Django project
View flakes.py
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
You can’t perform that action at this time.