mirror of https://github.com/cheat/cheat.git
Added a CONTRIBUTING.md file
- Added a CONTRIBUTING.md file - Corrected a small indentation error - version bump
This commit is contained in:
parent
afcaaafbe5
commit
8677e0c35a
|
@ -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/
|
|
@ -38,7 +38,7 @@ from docopt import docopt
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# parse the command-line options
|
# parse the command-line options
|
||||||
options = docopt(__doc__, version='cheat 2.0.4')
|
options = docopt(__doc__, version='cheat 2.0.5')
|
||||||
|
|
||||||
# list directories
|
# list directories
|
||||||
if options['--directories']:
|
if options['--directories']:
|
||||||
|
|
|
@ -47,7 +47,7 @@ def get():
|
||||||
# if we've already reached out to the filesystem, just return the result
|
# if we've already reached out to the filesystem, just return the result
|
||||||
# from memory
|
# from memory
|
||||||
if cheats:
|
if cheats:
|
||||||
return cheats
|
return cheats
|
||||||
|
|
||||||
# otherwise, scan the filesystem
|
# otherwise, scan the filesystem
|
||||||
for cheat_dir in reversed(paths()):
|
for cheat_dir in reversed(paths()):
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -12,7 +12,7 @@ if os.name == 'nt':
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = 'cheat',
|
name = 'cheat',
|
||||||
version = '2.0.4',
|
version = '2.0.5',
|
||||||
author = 'Chris Lane',
|
author = 'Chris Lane',
|
||||||
author_email = 'chris@chris-allen-lane.com',
|
author_email = 'chris@chris-allen-lane.com',
|
||||||
license = 'GPL3',
|
license = 'GPL3',
|
||||||
|
|
Loading…
Reference in New Issue