I found this on https://coderwall.com/p/f4cnkg/a-better-way-to-setup-git-flow, and I want no illusions as to the source. I just know that I'll forget about it unless I put it on here.
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
def createStore(reducer, state, enhancer): | |
""" | |
Store instance constructor | |
Usage: | |
.. code-block: python | |
from store import createStore |
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
{ | |
"name": "pytest-nodemon-watch", | |
"version": "1.0.0", | |
"license": "MIT", | |
"scripts": { | |
"test": "pytest", | |
"test:watch": "nodemon --exec \"pytest\" *.py" | |
}, | |
"nodemonConfig": { | |
"ignore": [ |
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/env python | |
import os | |
import sys | |
import subprocess | |
import time | |
class Watcher: | |
_process = None |
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 -*- | |
"""Python2 f-string like behavior""" | |
from __future__ import print_function | |
import inspect | |
import re | |
class F(object): | |
"""String formatter based on Python 3.6 'f' strings |