From 8677e0c35a01c67c155b4a5871f554deca164038 Mon Sep 17 00:00:00 2001 From: Chris Lane Date: Sun, 25 May 2014 22:19:43 -0400 Subject: [PATCH] Added a CONTRIBUTING.md file - Added a CONTRIBUTING.md file - Corrected a small indentation error - version bump --- CONTRIBUTING.md | 9 +++++++++ bin/cheat | 2 +- cheat/sheets.py | 2 +- setup.py | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..ba9e218 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,9 @@ +Contributing +============ +If you would like to contribute cheetsheets or program functionality, please +fork this repository, make your changes, and send me a pull request. + +Python code show follow the standards laid out by [PEP 8][]. + + +[PEP 8]: http://legacy.python.org/dev/peps/pep-0008/ diff --git a/bin/cheat b/bin/cheat index 60bad56..de8ee2a 100755 --- a/bin/cheat +++ b/bin/cheat @@ -38,7 +38,7 @@ from docopt import docopt if __name__ == '__main__': # parse the command-line options - options = docopt(__doc__, version='cheat 2.0.4') + options = docopt(__doc__, version='cheat 2.0.5') # list directories if options['--directories']: diff --git a/cheat/sheets.py b/cheat/sheets.py index 10dbfaf..24c556c 100644 --- a/cheat/sheets.py +++ b/cheat/sheets.py @@ -47,7 +47,7 @@ def get(): # if we've already reached out to the filesystem, just return the result # from memory if cheats: - return cheats + return cheats # otherwise, scan the filesystem for cheat_dir in reversed(paths()): diff --git a/setup.py b/setup.py index ef8eb69..72eec5d 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ if os.name == 'nt': setup( name = 'cheat', - version = '2.0.4', + version = '2.0.5', author = 'Chris Lane', author_email = 'chris@chris-allen-lane.com', license = 'GPL3',