Skip to content

Instantly share code, notes, and snippets.

@jonadem
jonadem / pep8_cheatsheet.py
Last active February 18, 2020 15:19 — forked from RichardBronosky/pep8_cheatsheet.py
PEP-8 cheatsheet
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""This module's docstring summary line.
This is a multi-line docstring. Paragraphs are separated with blank lines.
Lines conform to 79-column limit.
Module and packages names should be short, lower_case_with_underscores.
Notice that this is not PEP8-cheatsheet.py
@jonadem
jonadem / pylint-recursive.py
Last active November 9, 2017 20:26 — forked from gregorynicholas/pylint-recursive.py
Module that runs pylint on all python scripts found in a directory tree..
#! /usr/bin/env python
'''
Module that runs pylint on all python scripts found in a directory tree..
'''
from __future__ import print_function
import os
import re
import sys