This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os | |
import sys | |
import argparse | |
import iso8601 | |
import re | |
import subprocess | |
import logging | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import gc | |
from sys import modules | |
import inspect | |
from optparse import make_option | |
import weakref | |
from django.core.management.base import BaseCommand | |
from django.dispatch import Signal, saferef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HELP | |
======================================================= | |
C-h a command-apropos What commands work like this...? | |
apropos What functions and variables work like this...? | |
C-h c describe-key-briefly What command does this key sequence do? | |
C-h b describe-bindings What are the key bindings for this buffer? | |
C-h k describe-key What command does this sequence do, and tell me about it. | |
C-h l view-lossage What are the last 100 characters typed? | |
C-h w where-is What is the key binding for this? | |
C-h f describe-function What does this function do? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; auto-remove.el --- Auto remove unused functions in python | |
;;; Commentary: | |
;; Uses external tool autoflake to remove unused imports from a Python file. | |
;;; Code: | |
(defcustom python-autoflake-path (executable-find "autoflake") | |
"Autoflake executable path. |