This file contains hidden or 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
""" | |
FSEND standup bot script. | |
Calls on people via MacOS's "say" command. | |
Tracks timings for how long different parts of the standup take. | |
Code is written in Python 3 | |
""" | |
import datetime | |
import random | |
import json |
This file contains hidden or 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 -*- | |
from __future__ import unicode_literals | |
from string import ascii_lowercase | |
import sys | |
flipped = 'ɐqɔpǝɟƃɥıɾʞʃɯuodbɹsʇnʌʍxʎz' | |
lookup = dict(zip(ascii_lowercase, flipped)) | |
lookup[' '] = ' ' |
This file contains hidden or 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
import pytest | |
@pytest.fixture | |
def foo(): | |
return 'foo value' | |
@pytest.fixture | |
def bar(): | |
return 'bar value' |