Skip to content

Instantly share code, notes, and snippets.

View AlexeyMK's full-sized avatar

Alexey Komissarouk AlexeyMK

View GitHub Profile
@AlexeyMK
AlexeyMK / gist:1954251
Created March 2, 2012 00:27
PEP8 pre-commit hook in Python
#!/usr/bin/env python
from __future__ import with_statement
import os
import shutil
import subprocess
import sys
import tempfile
def system(*args, **kwargs):